From dde21314e75acdaeff27af70077f283493401961 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Fri, 15 Aug 2008 10:24:04 +0000 Subject: Update svn properties, formatting cleanup, fix a couple compiler warnings. --- OpenSim/ApplicationPlugins/Rest/Regions/GETHandler.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'OpenSim/ApplicationPlugins/Rest/Regions') diff --git a/OpenSim/ApplicationPlugins/Rest/Regions/GETHandler.cs b/OpenSim/ApplicationPlugins/Rest/Regions/GETHandler.cs index e5ec94b..ce564dd 100644 --- a/OpenSim/ApplicationPlugins/Rest/Regions/GETHandler.cs +++ b/OpenSim/ApplicationPlugins/Rest/Regions/GETHandler.cs @@ -133,7 +133,8 @@ namespace OpenSim.ApplicationPlugins.Rest.Regions return XmlWriterResult; } - if (2 == comps.Length) { + if (2 == comps.Length) + { string resp = ShortRegionInfo(comps[1], details[comps[1]]); if (null != resp) return resp; @@ -153,7 +154,8 @@ namespace OpenSim.ApplicationPlugins.Rest.Regions } } - if (3 == comps.Length) { + if (3 == comps.Length) + { switch (comps[1].ToLower()) { case "prims": @@ -166,7 +168,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Regions min = new LLVector3((float)Double.Parse(subregion[0]), (float)Double.Parse(subregion[1]), (float)Double.Parse(subregion[2])); max = new LLVector3((float)Double.Parse(subregion[3]), (float)Double.Parse(subregion[4]), (float)Double.Parse(subregion[5])); } - catch (Exception e) + catch (Exception) { return Failure(httpResponse, OSHttpStatusCode.ClientErrorBadRequest, "GET", "invalid subregion parameter"); -- cgit v1.1