From efd90b56b761219af6425b1c7a2cdd3b6ffb4de2 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Thu, 27 Dec 2007 21:41:48 +0000 Subject: * Optimized usings * shortened references * Removed redundant 'this' * Normalized EOF --- OpenSim/Grid/GridServer/GridManager.cs | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'OpenSim/Grid/GridServer/GridManager.cs') diff --git a/OpenSim/Grid/GridServer/GridManager.cs b/OpenSim/Grid/GridServer/GridManager.cs index cb9f979..65df708 100644 --- a/OpenSim/Grid/GridServer/GridManager.cs +++ b/OpenSim/Grid/GridServer/GridManager.cs @@ -434,8 +434,8 @@ namespace OpenSim.Grid.GridServer } else { - MainLog.Instance.Verbose("DATA", "found " + (string)simData.regionName + " regionHandle = " + - (string)requestData["region_handle"]); + MainLog.Instance.Verbose("DATA", "found " + (string) simData.regionName + " regionHandle = " + + (string) requestData["region_handle"]); responseData["sim_ip"] = Util.GetHostFromDNS(simData.serverIP).ToString(); responseData["sim_port"] = simData.serverPort.ToString(); responseData["http_port"] = simData.httpPort.ToString(); @@ -513,7 +513,7 @@ namespace OpenSim.Grid.GridServer simProfileList.Add(simProfileBlock); } MainLog.Instance.Verbose("MAP", "Fast map " + simProfileList.Count.ToString() + - " regions @ (" + xmin + "," + ymin + ")..(" + xmax + "," + ymax + ")" ); + " regions @ (" + xmin + "," + ymin + ")..(" + xmax + "," + ymax + ")"); } else { @@ -548,7 +548,7 @@ namespace OpenSim.Grid.GridServer } } MainLog.Instance.Verbose("MAP", "Std map " + simProfileList.Count.ToString() + - " regions @ (" + xmin + "," + ymin + ")..(" + xmax + "," + ymax + ")"); + " regions @ (" + xmin + "," + ymin + ")..(" + xmax + "," + ymax + ")"); } responseData["sim-profiles"] = simProfileList; @@ -713,7 +713,8 @@ namespace OpenSim.Grid.GridServer try { - MainLog.Instance.Verbose("DATA", "Updating / adding via " + _plugins.Count + " storage provider(s) registered."); + MainLog.Instance.Verbose("DATA", + "Updating / adding via " + _plugins.Count + " storage provider(s) registered."); foreach (KeyValuePair kvp in _plugins) { try @@ -733,14 +734,14 @@ namespace OpenSim.Grid.GridServer { MainLog.Instance.Warn("grid", "Unable to update region (RestSetSimMethod): Incorrect reservation auth key."); - // Wanted: " + reserveData.gridRecvKey + ", Got: " + TheSim.regionRecvKey + "."); + // Wanted: " + reserveData.gridRecvKey + ", Got: " + TheSim.regionRecvKey + "."); return "Unable to update region (RestSetSimMethod): Incorrect auth key."; } } catch (Exception e) { MainLog.Instance.Warn("GRID", "getRegionPlugin Handle " + kvp.Key + " unable to add new sim: " + - e.ToString()); + e.ToString()); } } return "OK"; @@ -751,4 +752,4 @@ namespace OpenSim.Grid.GridServer } } } -} +} \ No newline at end of file -- cgit v1.1