aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/AssetInventoryServer/Utils.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Grid/AssetInventoryServer/Utils.cs')
-rw-r--r--OpenSim/Grid/AssetInventoryServer/Utils.cs14
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
30using System; 30using System;
31using System.Collections.Specialized;
32using System.Globalization; 31using System.Globalization;
33using System.Net;
34using System.Xml; 32using System.Xml;
35using System.Xml.Serialization; 33using System.Xml.Serialization;
36using OpenMetaverse; 34using OpenMetaverse;
37using OpenMetaverse.StructuredData;
38using HttpServer;
39using OpenSim.Framework.Servers; 35using OpenSim.Framework.Servers;
40 36
41namespace OpenSim.Grid.AssetInventoryServer 37namespace 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();