diff options
author | Jeff Ames | 2008-11-11 00:52:47 +0000 |
---|---|---|
committer | Jeff Ames | 2008-11-11 00:52:47 +0000 |
commit | 5276c4bdf81a7d0f0ff12f8573a9cbe51cdda8aa (patch) | |
tree | 2cba73fc21acdc7986233d5a540dd844b2df0870 /OpenSim/Framework/Communications/Cache | |
parent | * Commit allows downloading of the .raw terrain from the estate tools. (diff) | |
download | opensim-SC_OLD-5276c4bdf81a7d0f0ff12f8573a9cbe51cdda8aa.zip opensim-SC_OLD-5276c4bdf81a7d0f0ff12f8573a9cbe51cdda8aa.tar.gz opensim-SC_OLD-5276c4bdf81a7d0f0ff12f8573a9cbe51cdda8aa.tar.bz2 opensim-SC_OLD-5276c4bdf81a7d0f0ff12f8573a9cbe51cdda8aa.tar.xz |
Update svn properties, minor formatting cleanup.
Diffstat (limited to 'OpenSim/Framework/Communications/Cache')
-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 | } |