* Refactor: Eliminate empty if clause from AssetCache.GetAsset()
parent
682fc23e32
commit
f6add412d6
|
@ -261,10 +261,7 @@ namespace OpenSim.Framework.Communications.Cache
|
|||
lock (RequestLists)
|
||||
{
|
||||
// m_log.Info("AssetCache: Lock taken on requestLists (GetAsset)");
|
||||
if (RequestLists.TryGetValue(assetId, out requestList))
|
||||
{
|
||||
}
|
||||
else
|
||||
if (!RequestLists.TryGetValue(assetId, out requestList))
|
||||
{
|
||||
requestList = new AssetRequestsList(assetId);
|
||||
RequestLists.Add(assetId, requestList);
|
||||
|
|
Loading…
Reference in New Issue