diff options
author | Melanie Thielker | 2016-12-29 12:34:09 +0000 |
---|---|---|
committer | Melanie Thielker | 2016-12-29 12:34:09 +0000 |
commit | f021c64eb060046bff6e91384e1bbca0384b7d61 (patch) | |
tree | 1ccd718bd77b9c502e9310873eab35e035a379b0 /OpenSim/Framework | |
parent | Add an option to update the file access time even when an asset is found in c... (diff) | |
download | opensim-SC-f021c64eb060046bff6e91384e1bbca0384b7d61.zip opensim-SC-f021c64eb060046bff6e91384e1bbca0384b7d61.tar.gz opensim-SC-f021c64eb060046bff6e91384e1bbca0384b7d61.tar.bz2 opensim-SC-f021c64eb060046bff6e91384e1bbca0384b7d61.tar.xz |
Refactor: Rename IImprovedAssetCache to IAssetCache as the old IAssetCache is long gone.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/IImprovedAssetCache.cs | 4 | ||||
-rw-r--r-- | OpenSim/Framework/WearableCacheItem.cs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Framework/IImprovedAssetCache.cs b/OpenSim/Framework/IImprovedAssetCache.cs index a853e90..855b86b 100644 --- a/OpenSim/Framework/IImprovedAssetCache.cs +++ b/OpenSim/Framework/IImprovedAssetCache.cs | |||
@@ -29,7 +29,7 @@ using OpenSim.Framework; | |||
29 | 29 | ||
30 | namespace OpenSim.Framework | 30 | namespace OpenSim.Framework |
31 | { | 31 | { |
32 | public interface IImprovedAssetCache | 32 | public interface IAssetCache |
33 | { | 33 | { |
34 | /// <summary> | 34 | /// <summary> |
35 | /// Cache the specified asset. | 35 | /// Cache the specified asset. |
@@ -61,4 +61,4 @@ namespace OpenSim.Framework | |||
61 | /// </summary> | 61 | /// </summary> |
62 | void Clear(); | 62 | void Clear(); |
63 | } | 63 | } |
64 | } \ No newline at end of file | 64 | } |
diff --git a/OpenSim/Framework/WearableCacheItem.cs b/OpenSim/Framework/WearableCacheItem.cs index af28abc..966a6bc 100644 --- a/OpenSim/Framework/WearableCacheItem.cs +++ b/OpenSim/Framework/WearableCacheItem.cs | |||
@@ -50,7 +50,7 @@ namespace OpenSim.Framework | |||
50 | return retitems; | 50 | return retitems; |
51 | } | 51 | } |
52 | 52 | ||
53 | public static WearableCacheItem[] FromOSD(OSD pInput, IImprovedAssetCache dataCache) | 53 | public static WearableCacheItem[] FromOSD(OSD pInput, IAssetCache dataCache) |
54 | { | 54 | { |
55 | List<WearableCacheItem> ret = new List<WearableCacheItem>(); | 55 | List<WearableCacheItem> ret = new List<WearableCacheItem>(); |
56 | if (pInput.Type == OSDType.Array) | 56 | if (pInput.Type == OSDType.Array) |
@@ -100,7 +100,7 @@ namespace OpenSim.Framework | |||
100 | 100 | ||
101 | } | 101 | } |
102 | 102 | ||
103 | public static OSD ToOSD(WearableCacheItem[] pcacheItems, IImprovedAssetCache dataCache) | 103 | public static OSD ToOSD(WearableCacheItem[] pcacheItems, IAssetCache dataCache) |
104 | { | 104 | { |
105 | OSDArray arr = new OSDArray(); | 105 | OSDArray arr = new OSDArray(); |
106 | foreach (WearableCacheItem item in pcacheItems) | 106 | foreach (WearableCacheItem item in pcacheItems) |