Simplify FlotsamAssetCache.CheckFromMemoryCache()

master-beforevarregion
Justin Clark-Casey (justincc) 2014-01-18 00:21:53 +00:00
parent d381da81d6
commit ee8ba1ab9a
1 changed files with 1 additions and 6 deletions

View File

@ -344,12 +344,7 @@ namespace OpenSim.Region.CoreModules.Asset
private bool CheckFromMemoryCache(string id)
{
AssetBase asset = null;
if (m_MemoryCache.TryGetValue(id, out asset))
return true;
return false;
return m_MemoryCache.Contains(id);
}
/// <summary>