* Refactor: Eliminate empty if clause from AssetCache.GetAsset()
parent
682fc23e32
commit
f6add412d6
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue