aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/ApplicationPlugins/Rest/RestPlugin.cs')
-rw-r--r--OpenSim/ApplicationPlugins/Rest/RestPlugin.cs54
1 files changed, 27 insertions, 27 deletions
diff --git a/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs b/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs
index 8af1276..514ecd4 100644
--- a/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs
+++ b/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs
@@ -53,8 +53,8 @@ namespace OpenSim.ApplicationPlugins.Rest
53 private string _prefix; // URL prefix below 53 private string _prefix; // URL prefix below
54 // which all REST URLs 54 // which all REST URLs
55 // are living 55 // are living
56 private StringWriter _sw = null; 56 // private StringWriter _sw = null;
57 private RestXmlWriter _xw = null; 57 // private RestXmlWriter _xw = null;
58 58
59 private string _godkey; 59 private string _godkey;
60 private int _reqk; 60 private int _reqk;
@@ -149,31 +149,31 @@ namespace OpenSim.ApplicationPlugins.Rest
149 /// </summary> 149 /// </summary>
150 public abstract string ConfigName { get; } 150 public abstract string ConfigName { get; }
151 151
152 public XmlTextWriter XmlWriter 152 // public XmlTextWriter XmlWriter
153 { 153 // {
154 get 154 // get
155 { 155 // {
156 if (null == _xw) 156 // if (null == _xw)
157 { 157 // {
158 _sw = new StringWriter(); 158 // _sw = new StringWriter();
159 _xw = new RestXmlWriter(_sw); 159 // _xw = new RestXmlWriter(_sw);
160 _xw.Formatting = Formatting.Indented; 160 // _xw.Formatting = Formatting.Indented;
161 } 161 // }
162 return _xw; 162 // return _xw;
163 } 163 // }
164 } 164 // }
165 165
166 public string XmlWriterResult 166 // public string XmlWriterResult
167 { 167 // {
168 get 168 // get
169 { 169 // {
170 _xw.Flush(); 170 // _xw.Flush();
171 _xw.Close(); 171 // _xw.Close();
172 _xw = null; 172 // _xw = null;
173 173
174 return _sw.ToString(); 174 // return _sw.ToString();
175 } 175 // }
176 } 176 // }
177 177
178 #endregion properties 178 #endregion properties
179 179