diff options
Diffstat (limited to 'OpenSim/Grid/AssetInventoryServer/Utils.cs')
-rw-r--r-- | OpenSim/Grid/AssetInventoryServer/Utils.cs | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/OpenSim/Grid/AssetInventoryServer/Utils.cs b/OpenSim/Grid/AssetInventoryServer/Utils.cs index 52e2370..01ca5a6 100644 --- a/OpenSim/Grid/AssetInventoryServer/Utils.cs +++ b/OpenSim/Grid/AssetInventoryServer/Utils.cs | |||
@@ -28,14 +28,10 @@ | |||
28 | */ | 28 | */ |
29 | 29 | ||
30 | using System; | 30 | using System; |
31 | using System.Collections.Specialized; | ||
32 | using System.Globalization; | 31 | using System.Globalization; |
33 | using System.Net; | ||
34 | using System.Xml; | 32 | using System.Xml; |
35 | using System.Xml.Serialization; | 33 | using System.Xml.Serialization; |
36 | using OpenMetaverse; | 34 | using OpenMetaverse; |
37 | using OpenMetaverse.StructuredData; | ||
38 | using HttpServer; | ||
39 | using OpenSim.Framework.Servers; | 35 | using OpenSim.Framework.Servers; |
40 | 36 | ||
41 | namespace OpenSim.Grid.AssetInventoryServer | 37 | namespace OpenSim.Grid.AssetInventoryServer |
@@ -791,11 +787,11 @@ namespace OpenSim.Grid.AssetInventoryServer | |||
791 | public class GeneratedWriter : XmlSerializationWriter | 787 | public class GeneratedWriter : XmlSerializationWriter |
792 | { | 788 | { |
793 | const string xmlNamespace = "http://www.w3.org/2000/xmlns/"; | 789 | const string xmlNamespace = "http://www.w3.org/2000/xmlns/"; |
794 | static readonly System.Reflection.MethodInfo toBinHexStringMethod = typeof(XmlConvert).GetMethod("ToBinHexString", System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.NonPublic, null, new Type[] { typeof(byte[]) }, null); | 790 | //static readonly System.Reflection.MethodInfo toBinHexStringMethod = typeof(XmlConvert).GetMethod("ToBinHexString", System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.NonPublic, null, new Type[] { typeof(byte[]) }, null); |
795 | static string ToBinHexString(byte[] input) | 791 | //static string ToBinHexString(byte[] input) |
796 | { | 792 | //{ |
797 | return input == null ? null : (string)toBinHexStringMethod.Invoke(null, new object[] { input }); | 793 | // return input == null ? null : (string)toBinHexStringMethod.Invoke(null, new object[] { input }); |
798 | } | 794 | //} |
799 | public void WriteRoot_InventoryFolder(object o) | 795 | public void WriteRoot_InventoryFolder(object o) |
800 | { | 796 | { |
801 | WriteStartDocument(); | 797 | WriteStartDocument(); |