aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/AssetInventoryServer/Utils.cs
diff options
context:
space:
mode:
authorMike Mazur2009-02-16 02:28:16 +0000
committerMike Mazur2009-02-16 02:28:16 +0000
commitf8d51e6949a8d4c3c3b2846279b171ca656105df (patch)
tree1bf43a28ced491b6656206bc17f81af3fe944029 /OpenSim/Grid/AssetInventoryServer/Utils.cs
parentName extension points a little clearer. (diff)
downloadopensim-SC_OLD-f8d51e6949a8d4c3c3b2846279b171ca656105df.zip
opensim-SC_OLD-f8d51e6949a8d4c3c3b2846279b171ca656105df.tar.gz
opensim-SC_OLD-f8d51e6949a8d4c3c3b2846279b171ca656105df.tar.bz2
opensim-SC_OLD-f8d51e6949a8d4c3c3b2846279b171ca656105df.tar.xz
- clean up using references as well as References in prebuild.xml
- comment out a bunch of stuff in OpenSimInventoryFrontendPlugin.cs to get rid of warnings
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();