diff options
author | Justin Clarke Casey | 2008-05-18 19:56:25 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-05-18 19:56:25 +0000 |
commit | f6add412d68b7af65e68a7dd31409867dffc689b (patch) | |
tree | c28238891ff46e086aaaa0463ed6f557d297a881 /OpenSim/Framework/Communications/Cache | |
parent | * minor: Just a few documentation odds and ends (diff) | |
download | opensim-SC-f6add412d68b7af65e68a7dd31409867dffc689b.zip opensim-SC-f6add412d68b7af65e68a7dd31409867dffc689b.tar.gz opensim-SC-f6add412d68b7af65e68a7dd31409867dffc689b.tar.bz2 opensim-SC-f6add412d68b7af65e68a7dd31409867dffc689b.tar.xz |
* Refactor: Eliminate empty if clause from AssetCache.GetAsset()
Diffstat (limited to 'OpenSim/Framework/Communications/Cache')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/AssetCache.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs index 1dd6529..805adb0 100644 --- a/OpenSim/Framework/Communications/Cache/AssetCache.cs +++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs | |||
@@ -261,10 +261,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
261 | lock (RequestLists) | 261 | lock (RequestLists) |
262 | { | 262 | { |
263 | // m_log.Info("AssetCache: Lock taken on requestLists (GetAsset)"); | 263 | // m_log.Info("AssetCache: Lock taken on requestLists (GetAsset)"); |
264 | if (RequestLists.TryGetValue(assetId, out requestList)) | 264 | if (!RequestLists.TryGetValue(assetId, out requestList)) |
265 | { | ||
266 | } | ||
267 | else | ||
268 | { | 265 | { |
269 | requestList = new AssetRequestsList(assetId); | 266 | requestList = new AssetRequestsList(assetId); |
270 | RequestLists.Add(assetId, requestList); | 267 | RequestLists.Add(assetId, requestList); |