diff options
author | Adam Frisby | 2008-01-15 02:09:55 +0000 |
---|---|---|
committer | Adam Frisby | 2008-01-15 02:09:55 +0000 |
commit | b25f9f322cdbcde7fd8c043137bf07992e5ef318 (patch) | |
tree | 7c1a5115b2849dfe388b825dd271271d347f9574 /OpenSim/Framework/Communications/Cache/AssetCache.cs | |
parent | Set svn:eol-style. (diff) | |
download | opensim-SC-b25f9f322cdbcde7fd8c043137bf07992e5ef318.zip opensim-SC-b25f9f322cdbcde7fd8c043137bf07992e5ef318.tar.gz opensim-SC-b25f9f322cdbcde7fd8c043137bf07992e5ef318.tar.bz2 opensim-SC-b25f9f322cdbcde7fd8c043137bf07992e5ef318.tar.xz |
* Mother of all commits:
* Cleaned up copyright notices in AssemblyInfo.cs's
* Added Copyright headers to a bunch of files missing them
* Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/AssetCache.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs index 988c558..6d9a0d6 100644 --- a/OpenSim/Framework/Communications/Cache/AssetCache.cs +++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs | |||
@@ -208,7 +208,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
208 | /// <param name="asset"></param> | 208 | /// <param name="asset"></param> |
209 | public void AddAsset(AssetBase asset) | 209 | public void AddAsset(AssetBase asset) |
210 | { | 210 | { |
211 | string temporary = asset.Temporary ? "temporary" : ""; | 211 | string temporary = asset.Temporary ? "temporary" : String.Empty; |
212 | string type = asset.Type == 0 ? "texture" : "asset"; | 212 | string type = asset.Type == 0 ? "texture" : "asset"; |
213 | 213 | ||
214 | string result = "Ignored"; | 214 | string result = "Ignored"; |