* Refactor: Eliminate empty if clause from AssetCache.GetAsset()

0.6.0-stable
Justin Clarke Casey 2008-05-18 19:56:25 +00:00
parent 682fc23e32
commit f6add412d6
1 changed files with 1 additions and 4 deletions

View File

@ -261,10 +261,7 @@ namespace OpenSim.Framework.Communications.Cache
lock (RequestLists) lock (RequestLists)
{ {
// m_log.Info("AssetCache: Lock taken on requestLists (GetAsset)"); // m_log.Info("AssetCache: Lock taken on requestLists (GetAsset)");
if (RequestLists.TryGetValue(assetId, out requestList)) if (!RequestLists.TryGetValue(assetId, out requestList))
{
}
else
{ {
requestList = new AssetRequestsList(assetId); requestList = new AssetRequestsList(assetId);
RequestLists.Add(assetId, requestList); RequestLists.Add(assetId, requestList);