mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
* Refactor: Eliminate empty if clause from AssetCache.GetAsset()
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user