diff options
author | Mike Mazur | 2009-02-16 02:28:16 +0000 |
---|---|---|
committer | Mike Mazur | 2009-02-16 02:28:16 +0000 |
commit | f8d51e6949a8d4c3c3b2846279b171ca656105df (patch) | |
tree | 1bf43a28ced491b6656206bc17f81af3fe944029 /OpenSim/Grid/AssetInventoryServer/Utils.cs | |
parent | Name extension points a little clearer. (diff) | |
download | opensim-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.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(); |