diff options
author | lbsa71 | 2007-12-27 21:41:48 +0000 |
---|---|---|
committer | lbsa71 | 2007-12-27 21:41:48 +0000 |
commit | efd90b56b761219af6425b1c7a2cdd3b6ffb4de2 (patch) | |
tree | bf5b897e1e3c13211e3e2fc61d30508b94c928c0 /OpenSim/Framework/Communications/Cache/GridAssetClient.cs | |
parent | * removed always true if (diff) | |
download | opensim-SC_OLD-efd90b56b761219af6425b1c7a2cdd3b6ffb4de2.zip opensim-SC_OLD-efd90b56b761219af6425b1c7a2cdd3b6ffb4de2.tar.gz opensim-SC_OLD-efd90b56b761219af6425b1c7a2cdd3b6ffb4de2.tar.bz2 opensim-SC_OLD-efd90b56b761219af6425b1c7a2cdd3b6ffb4de2.tar.xz |
* Optimized usings
* shortened references
* Removed redundant 'this'
* Normalized EOF
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/GridAssetClient.cs')
-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 |