diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/GridAssetClient.cs | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/OpenSim/Framework/Communications/Cache/GridAssetClient.cs b/OpenSim/Framework/Communications/Cache/GridAssetClient.cs index 9c460c7..cf54fa4 100644 --- a/OpenSim/Framework/Communications/Cache/GridAssetClient.cs +++ b/OpenSim/Framework/Communications/Cache/GridAssetClient.cs | |||
@@ -27,10 +27,8 @@ | |||
27 | */ | 27 | */ |
28 | 28 | ||
29 | using System; | 29 | using System; |
30 | using System.Collections.Generic; | ||
31 | using System.IO; | 30 | using System.IO; |
32 | using System.Xml.Serialization; | 31 | using System.Xml.Serialization; |
33 | using libsecondlife; | ||
34 | using OpenSim.Framework.Console; | 32 | using OpenSim.Framework.Console; |
35 | using OpenSim.Framework.Servers; | 33 | using OpenSim.Framework.Servers; |
36 | 34 | ||
@@ -65,9 +63,9 @@ namespace OpenSim.Framework.Communications.Cache | |||
65 | 63 | ||
66 | if (s.Length > 0) | 64 | if (s.Length > 0) |
67 | { | 65 | { |
68 | XmlSerializer xs = new XmlSerializer(typeof(AssetBase)); | 66 | XmlSerializer xs = new XmlSerializer(typeof (AssetBase)); |
69 | 67 | ||
70 | return (AssetBase)xs.Deserialize(s); | 68 | return (AssetBase) xs.Deserialize(s); |
71 | } | 69 | } |
72 | } | 70 | } |
73 | catch (Exception e) | 71 | catch (Exception e) |
@@ -76,12 +74,11 @@ namespace OpenSim.Framework.Communications.Cache | |||
76 | MainLog.Instance.Debug("ASSETCACHE", "Getting asset {0}", req.AssetID.ToString()); | 74 | MainLog.Instance.Debug("ASSETCACHE", "Getting asset {0}", req.AssetID.ToString()); |
77 | MainLog.Instance.Error("ASSETCACHE", e.StackTrace); | 75 | MainLog.Instance.Error("ASSETCACHE", e.StackTrace); |
78 | } | 76 | } |
79 | 77 | ||
80 | return null; | 78 | return null; |
81 | } | 79 | } |
82 | 80 | ||
83 | 81 | ||
84 | |||
85 | public override void UpdateAsset(AssetBase asset) | 82 | public override void UpdateAsset(AssetBase asset) |
86 | { | 83 | { |
87 | throw new Exception("The method or operation is not implemented."); | 84 | throw new Exception("The method or operation is not implemented."); |
@@ -119,8 +116,6 @@ namespace OpenSim.Framework.Communications.Cache | |||
119 | throw new Exception("The method or operation is not implemented."); | 116 | throw new Exception("The method or operation is not implemented."); |
120 | } | 117 | } |
121 | 118 | ||
122 | |||
123 | |||
124 | #endregion | 119 | #endregion |
125 | } | 120 | } |
126 | } | 121 | } \ No newline at end of file |