aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Asset/CenomeAssetCache.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-01-18 00:30:23 +0000
committerJustin Clark-Casey (justincc)2014-01-18 00:30:23 +0000
commitfc7ccfdafae7b8e9acd130b9f70e99241e0d33fa (patch)
tree290d6c72fbdb6df8eff52ecc59e1c850ad302362 /OpenSim/Region/CoreModules/Asset/CenomeAssetCache.cs
parentSimplify FlotsamAssetCache.CheckFromMemoryCache() (diff)
downloadopensim-SC-fc7ccfdafae7b8e9acd130b9f70e99241e0d33fa.zip
opensim-SC-fc7ccfdafae7b8e9acd130b9f70e99241e0d33fa.tar.gz
opensim-SC-fc7ccfdafae7b8e9acd130b9f70e99241e0d33fa.tar.bz2
opensim-SC-fc7ccfdafae7b8e9acd130b9f70e99241e0d33fa.tar.xz
Properly implement CenomeAssetCache.Check()
Diffstat (limited to 'OpenSim/Region/CoreModules/Asset/CenomeAssetCache.cs')
-rw-r--r--OpenSim/Region/CoreModules/Asset/CenomeAssetCache.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Asset/CenomeAssetCache.cs b/OpenSim/Region/CoreModules/Asset/CenomeAssetCache.cs
index f43305f..9b0e1f4 100644
--- a/OpenSim/Region/CoreModules/Asset/CenomeAssetCache.cs
+++ b/OpenSim/Region/CoreModules/Asset/CenomeAssetCache.cs
@@ -194,10 +194,12 @@ namespace OpenSim.Region.CoreModules.Asset
194 194
195 #region IImprovedAssetCache Members 195 #region IImprovedAssetCache Members
196 196
197
198 public bool Check(string id) 197 public bool Check(string id)
199 { 198 {
200 return false; 199 AssetBase asset;
200
201 // XXX:This is probably not an efficient implementation.
202 return m_cache.TryGetValue(id, out asset);
201 } 203 }
202 204
203 /// <summary> 205 /// <summary>