mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 11:33:28 +08:00
Formatting cleanup.
This commit is contained in:
@@ -231,7 +231,7 @@ namespace Flotsam.RegionModules.AssetCache
|
||||
|
||||
private void UpdateMemoryCache(string key, AssetBase asset)
|
||||
{
|
||||
if( m_MemoryCacheEnabled )
|
||||
if (m_MemoryCacheEnabled)
|
||||
{
|
||||
if (m_MemoryExpiration > TimeSpan.Zero)
|
||||
{
|
||||
@@ -405,7 +405,7 @@ namespace Flotsam.RegionModules.AssetCache
|
||||
File.Delete(filename);
|
||||
}
|
||||
|
||||
if( m_MemoryCacheEnabled )
|
||||
if (m_MemoryCacheEnabled)
|
||||
m_MemoryCache.Remove(id);
|
||||
}
|
||||
catch (Exception e)
|
||||
@@ -424,7 +424,7 @@ namespace Flotsam.RegionModules.AssetCache
|
||||
Directory.Delete(dir);
|
||||
}
|
||||
|
||||
if( m_MemoryCacheEnabled )
|
||||
if (m_MemoryCacheEnabled)
|
||||
m_MemoryCache.Clear();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user