aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-05-18 19:56:25 +0000
committerJustin Clarke Casey2008-05-18 19:56:25 +0000
commitf6add412d68b7af65e68a7dd31409867dffc689b (patch)
treec28238891ff46e086aaaa0463ed6f557d297a881 /OpenSim
parent* minor: Just a few documentation odds and ends (diff)
downloadopensim-SC_OLD-f6add412d68b7af65e68a7dd31409867dffc689b.zip
opensim-SC_OLD-f6add412d68b7af65e68a7dd31409867dffc689b.tar.gz
opensim-SC_OLD-f6add412d68b7af65e68a7dd31409867dffc689b.tar.bz2
opensim-SC_OLD-f6add412d68b7af65e68a7dd31409867dffc689b.tar.xz
* Refactor: Eliminate empty if clause from AssetCache.GetAsset()
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Communications/Cache/AssetCache.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs
index 1dd6529..805adb0 100644
--- a/OpenSim/Framework/Communications/Cache/AssetCache.cs
+++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs
@@ -261,10 +261,7 @@ namespace OpenSim.Framework.Communications.Cache
261 lock (RequestLists) 261 lock (RequestLists)
262 { 262 {
263 // m_log.Info("AssetCache: Lock taken on requestLists (GetAsset)"); 263 // m_log.Info("AssetCache: Lock taken on requestLists (GetAsset)");
264 if (RequestLists.TryGetValue(assetId, out requestList)) 264 if (!RequestLists.TryGetValue(assetId, out requestList))
265 {
266 }
267 else
268 { 265 {
269 requestList = new AssetRequestsList(assetId); 266 requestList = new AssetRequestsList(assetId);
270 RequestLists.Add(assetId, requestList); 267 RequestLists.Add(assetId, requestList);