mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
remove some more useless NULL arguments
This commit is contained in:
@@ -124,7 +124,7 @@ namespace OpenSim.Framework.Monitoring
|
||||
SortedDictionary<string, SortedDictionary<string, Stat>> category;
|
||||
if (!RegisteredStats.TryGetValue(categoryName, out category))
|
||||
{
|
||||
con.Output("No such category as {0}", null, categoryName);
|
||||
con.Output("No such category as {0}", categoryName);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -151,13 +151,13 @@ namespace OpenSim.Framework.Monitoring
|
||||
else
|
||||
{
|
||||
con.Output(
|
||||
"No such stat {0} in {1}.{2}", null, statName, categoryName, containerName);
|
||||
"No such stat {0} in {1}.{2}", statName, categoryName, containerName);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
con.Output("No such container {0} in category {1}", null, containerName, categoryName);
|
||||
con.Output("No such container {0} in category {1}", containerName, categoryName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -198,7 +198,7 @@ namespace OpenSim.Framework.Servers
|
||||
|
||||
if (newDebug < 0 || newDebug > 6)
|
||||
{
|
||||
MainConsole.Instance.Output("{0} is outside the valid debug level range of 0..6", null, newDebug);
|
||||
MainConsole.Instance.Output("{0} is outside the valid debug level range of 0..6", newDebug);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -498,7 +498,7 @@ namespace OpenSim.Framework.Servers
|
||||
|
||||
if (newLevel < 0 || newLevel > Util.MAX_THREADPOOL_LEVEL)
|
||||
{
|
||||
MainConsole.Instance.Output("{0} is outside the valid debug level range of 0.." + Util.MAX_THREADPOOL_LEVEL, null, newLevel);
|
||||
MainConsole.Instance.Output("{0} is outside the valid debug level range of 0.." + Util.MAX_THREADPOOL_LEVEL, newLevel);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user