remove some more useless NULL arguments

This commit is contained in:
UbitUmarov
2019-10-22 12:39:50 +01:00
parent b98ad6c53c
commit da0a8d6c43
17 changed files with 45 additions and 52 deletions

View File

@@ -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);
}
}
}

View File

@@ -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;
}

View File

@@ -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;
}