diff options
author | lbsa71 | 2007-07-01 13:17:27 +0000 |
---|---|---|
committer | lbsa71 | 2007-07-01 13:17:27 +0000 |
commit | 5e805656db1215518a344d6d5364629a4997fd47 (patch) | |
tree | 2d8b50bac8e77f983e3016e969df3535c52fb0d3 /OpenSim/Grid/GridServer | |
parent | * Project files fixed for OGS. (diff) | |
download | opensim-SC-5e805656db1215518a344d6d5364629a4997fd47.zip opensim-SC-5e805656db1215518a344d6d5364629a4997fd47.tar.gz opensim-SC-5e805656db1215518a344d6d5364629a4997fd47.tar.bz2 opensim-SC-5e805656db1215518a344d6d5364629a4997fd47.tar.xz |
Fixed SimpleApp - aka thankgoditssundaycommit
* Updated SimpleApp with various introduced dependencies
* Extracted ScenePrescence creation in Scene
* removed try-catchall from UserManagerBase (that actually hid a bug)
* Refactored RegionInfo
* handle is calculated
* it will explode upon accessing x,y,ip,port,externalip if not explicitly initialized
* Removed superfluous 'ref' keywords
* Removed a shitload of 'catch Exception e' that causes build warnings
* Lots of small refactorings, renames et c
* Ignored some bins
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Grid/GridServer/GridManager.cs | 8 | ||||
-rw-r--r-- | OpenSim/Grid/GridServer/Main.cs | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Grid/GridServer/GridManager.cs b/OpenSim/Grid/GridServer/GridManager.cs index c78d14a..47f7d00 100644 --- a/OpenSim/Grid/GridServer/GridManager.cs +++ b/OpenSim/Grid/GridServer/GridManager.cs | |||
@@ -108,7 +108,7 @@ namespace OpenSim.Grid.GridServer | |||
108 | { | 108 | { |
109 | kvp.Value.saveLog("Gridserver", target, method, args, priority, message); | 109 | kvp.Value.saveLog("Gridserver", target, method, args, priority, message); |
110 | } | 110 | } |
111 | catch (Exception e) | 111 | catch (Exception) |
112 | { | 112 | { |
113 | OpenSim.Framework.Console.MainLog.Instance.Warn("Storage: unable to write log via " + kvp.Key); | 113 | OpenSim.Framework.Console.MainLog.Instance.Warn("Storage: unable to write log via " + kvp.Key); |
114 | } | 114 | } |
@@ -127,7 +127,7 @@ namespace OpenSim.Grid.GridServer | |||
127 | { | 127 | { |
128 | return kvp.Value.GetProfileByLLUUID(uuid); | 128 | return kvp.Value.GetProfileByLLUUID(uuid); |
129 | } | 129 | } |
130 | catch (Exception e) | 130 | catch (Exception) |
131 | { | 131 | { |
132 | OpenSim.Framework.Console.MainLog.Instance.Warn("Storage: Unable to find region " + uuid.ToStringHyphenated() + " via " + kvp.Key); | 132 | OpenSim.Framework.Console.MainLog.Instance.Warn("Storage: Unable to find region " + uuid.ToStringHyphenated() + " via " + kvp.Key); |
133 | } | 133 | } |
@@ -148,7 +148,7 @@ namespace OpenSim.Grid.GridServer | |||
148 | { | 148 | { |
149 | return kvp.Value.GetProfileByHandle(handle); | 149 | return kvp.Value.GetProfileByHandle(handle); |
150 | } | 150 | } |
151 | catch (Exception e) | 151 | catch |
152 | { | 152 | { |
153 | OpenSim.Framework.Console.MainLog.Instance.Warn("Storage: Unable to find region " + handle.ToString() + " via " + kvp.Key); | 153 | OpenSim.Framework.Console.MainLog.Instance.Warn("Storage: Unable to find region " + handle.ToString() + " via " + kvp.Key); |
154 | } | 154 | } |
@@ -172,7 +172,7 @@ namespace OpenSim.Grid.GridServer | |||
172 | regions[neighbour.regionHandle] = neighbour; | 172 | regions[neighbour.regionHandle] = neighbour; |
173 | } | 173 | } |
174 | } | 174 | } |
175 | catch (Exception e) | 175 | catch |
176 | { | 176 | { |
177 | OpenSim.Framework.Console.MainLog.Instance.Warn("Storage: Unable to query regionblock via " + kvp.Key); | 177 | OpenSim.Framework.Console.MainLog.Instance.Warn("Storage: Unable to query regionblock via " + kvp.Key); |
178 | } | 178 | } |
diff --git a/OpenSim/Grid/GridServer/Main.cs b/OpenSim/Grid/GridServer/Main.cs index b225214..5ac64b2 100644 --- a/OpenSim/Grid/GridServer/Main.cs +++ b/OpenSim/Grid/GridServer/Main.cs | |||
@@ -262,7 +262,7 @@ namespace OpenSim.Grid.GridServer | |||
262 | } | 262 | } |
263 | configData.Commit(); | 263 | configData.Commit(); |
264 | } | 264 | } |
265 | catch (Exception e) | 265 | catch |
266 | { | 266 | { |
267 | 267 | ||
268 | } | 268 | } |