diff options
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/AssetCache.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs index 9ec5a98..d988032 100644 --- a/OpenSim/Framework/Communications/Cache/AssetCache.cs +++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs | |||
@@ -177,7 +177,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
177 | public bool TryGetCachedAsset(UUID assetId, out AssetBase asset) | 177 | public bool TryGetCachedAsset(UUID assetId, out AssetBase asset) |
178 | { | 178 | { |
179 | Object tmp; | 179 | Object tmp; |
180 | if(m_memcache.TryGet(assetId, out tmp)) | 180 | if (m_memcache.TryGet(assetId, out tmp)) |
181 | { | 181 | { |
182 | asset = (AssetBase)tmp; | 182 | asset = (AssetBase)tmp; |
183 | //m_log.Info("Retrieved from cache " + assetId); | 183 | //m_log.Info("Retrieved from cache " + assetId); |
@@ -337,7 +337,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
337 | // in the 2 caches differently. Also, locks are probably | 337 | // in the 2 caches differently. Also, locks are probably |
338 | // needed in all of this, or move to synchronized non | 338 | // needed in all of this, or move to synchronized non |
339 | // generic forms for Dictionaries. | 339 | // generic forms for Dictionaries. |
340 | if(m_memcache.Contains(uuid)) | 340 | if (m_memcache.Contains(uuid)) |
341 | { | 341 | { |
342 | m_memcache.Remove(uuid); | 342 | m_memcache.Remove(uuid); |
343 | } | 343 | } |