mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
Massive tab and trailing space cleanup
This commit is contained in:
@@ -36,7 +36,7 @@ namespace OpenSim.Tests.Common
|
||||
{
|
||||
protected Dictionary<UUID, AssetBase> Assets = new Dictionary<UUID, AssetBase>();
|
||||
|
||||
public AssetBase FetchAsset(UUID uuid)
|
||||
public AssetBase FetchAsset(UUID uuid)
|
||||
{
|
||||
if (AssetsExist(new[] { uuid })[0])
|
||||
return Assets[uuid];
|
||||
@@ -44,17 +44,17 @@ namespace OpenSim.Tests.Common
|
||||
return null;
|
||||
}
|
||||
|
||||
public void CreateAsset(AssetBase asset)
|
||||
public void CreateAsset(AssetBase asset)
|
||||
{
|
||||
Assets[asset.FullID] = asset;
|
||||
}
|
||||
|
||||
public void UpdateAsset(AssetBase asset)
|
||||
public void UpdateAsset(AssetBase asset)
|
||||
{
|
||||
CreateAsset(asset);
|
||||
}
|
||||
|
||||
public bool[] AssetsExist(UUID[] uuids)
|
||||
public bool[] AssetsExist(UUID[] uuids)
|
||||
{
|
||||
return Array.ConvertAll(uuids, id => Assets.ContainsKey(id));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user