diff options
author | UbitUmarov | 2019-10-22 12:39:50 +0100 |
---|---|---|
committer | UbitUmarov | 2019-10-22 12:39:50 +0100 |
commit | da0a8d6c43054b1b6b7487fc5fc78f03af349c02 (patch) | |
tree | 06c005fd81f0ccfe12a57337873adc9e45080ede /OpenSim/Framework | |
parent | remove some useless NULL arguments (diff) | |
download | opensim-SC-da0a8d6c43054b1b6b7487fc5fc78f03af349c02.zip opensim-SC-da0a8d6c43054b1b6b7487fc5fc78f03af349c02.tar.gz opensim-SC-da0a8d6c43054b1b6b7487fc5fc78f03af349c02.tar.bz2 opensim-SC-da0a8d6c43054b1b6b7487fc5fc78f03af349c02.tar.xz |
remove some more useless NULL arguments
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Framework/Monitoring/StatsManager.cs | 6 | ||||
-rwxr-xr-x | OpenSim/Framework/Servers/MainServer.cs | 2 | ||||
-rwxr-xr-x | OpenSim/Framework/Servers/ServerBase.cs | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Framework/Monitoring/StatsManager.cs b/OpenSim/Framework/Monitoring/StatsManager.cs index 9646bd7..05fb07a 100755 --- a/OpenSim/Framework/Monitoring/StatsManager.cs +++ b/OpenSim/Framework/Monitoring/StatsManager.cs | |||
@@ -124,7 +124,7 @@ namespace OpenSim.Framework.Monitoring | |||
124 | SortedDictionary<string, SortedDictionary<string, Stat>> category; | 124 | SortedDictionary<string, SortedDictionary<string, Stat>> category; |
125 | if (!RegisteredStats.TryGetValue(categoryName, out category)) | 125 | if (!RegisteredStats.TryGetValue(categoryName, out category)) |
126 | { | 126 | { |
127 | con.Output("No such category as {0}", null, categoryName); | 127 | con.Output("No such category as {0}", categoryName); |
128 | } | 128 | } |
129 | else | 129 | else |
130 | { | 130 | { |
@@ -151,13 +151,13 @@ namespace OpenSim.Framework.Monitoring | |||
151 | else | 151 | else |
152 | { | 152 | { |
153 | con.Output( | 153 | con.Output( |
154 | "No such stat {0} in {1}.{2}", null, statName, categoryName, containerName); | 154 | "No such stat {0} in {1}.{2}", statName, categoryName, containerName); |
155 | } | 155 | } |
156 | } | 156 | } |
157 | } | 157 | } |
158 | else | 158 | else |
159 | { | 159 | { |
160 | con.Output("No such container {0} in category {1}", null, containerName, categoryName); | 160 | con.Output("No such container {0} in category {1}", containerName, categoryName); |
161 | } | 161 | } |
162 | } | 162 | } |
163 | } | 163 | } |
diff --git a/OpenSim/Framework/Servers/MainServer.cs b/OpenSim/Framework/Servers/MainServer.cs index af6a63f..a42ff83 100755 --- a/OpenSim/Framework/Servers/MainServer.cs +++ b/OpenSim/Framework/Servers/MainServer.cs | |||
@@ -198,7 +198,7 @@ namespace OpenSim.Framework.Servers | |||
198 | 198 | ||
199 | if (newDebug < 0 || newDebug > 6) | 199 | if (newDebug < 0 || newDebug > 6) |
200 | { | 200 | { |
201 | MainConsole.Instance.Output("{0} is outside the valid debug level range of 0..6", null, newDebug); | 201 | MainConsole.Instance.Output("{0} is outside the valid debug level range of 0..6", newDebug); |
202 | return; | 202 | return; |
203 | } | 203 | } |
204 | 204 | ||
diff --git a/OpenSim/Framework/Servers/ServerBase.cs b/OpenSim/Framework/Servers/ServerBase.cs index 8545012..81b112f 100755 --- a/OpenSim/Framework/Servers/ServerBase.cs +++ b/OpenSim/Framework/Servers/ServerBase.cs | |||
@@ -498,7 +498,7 @@ namespace OpenSim.Framework.Servers | |||
498 | 498 | ||
499 | if (newLevel < 0 || newLevel > Util.MAX_THREADPOOL_LEVEL) | 499 | if (newLevel < 0 || newLevel > Util.MAX_THREADPOOL_LEVEL) |
500 | { | 500 | { |
501 | MainConsole.Instance.Output("{0} is outside the valid debug level range of 0.." + Util.MAX_THREADPOOL_LEVEL, null, newLevel); | 501 | MainConsole.Instance.Output("{0} is outside the valid debug level range of 0.." + Util.MAX_THREADPOOL_LEVEL, newLevel); |
502 | return; | 502 | return; |
503 | } | 503 | } |
504 | 504 | ||