From b98ad6c53c484aa2744c5040c9f29c475c3d4f72 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 22 Oct 2019 12:23:19 +0100 Subject: remove some useless NULL arguments --- OpenSim/Framework/Console/ConsoleUtil.cs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'OpenSim/Framework/Console/ConsoleUtil.cs') diff --git a/OpenSim/Framework/Console/ConsoleUtil.cs b/OpenSim/Framework/Console/ConsoleUtil.cs index 5342a29..2f73a8d 100755 --- a/OpenSim/Framework/Console/ConsoleUtil.cs +++ b/OpenSim/Framework/Console/ConsoleUtil.cs @@ -75,7 +75,7 @@ namespace OpenSim.Framework.Console { if (File.Exists(path)) { - console.Output("File {0} already exists. Please move or remove it.", null, path); + console.Output("File {0} already exists. Please move or remove it.", path); return false; } @@ -97,7 +97,7 @@ namespace OpenSim.Framework.Console if (!UUID.TryParse(rawUuid, out uuid)) { if (console != null) - console.Output("ERROR: {0} is not a valid uuid", null, rawUuid); + console.Output("ERROR: {0} is not a valid uuid", rawUuid); return false; } @@ -110,7 +110,7 @@ namespace OpenSim.Framework.Console if (!uint.TryParse(rawLocalId, out localId)) { if (console != null) - console.Output("ERROR: {0} is not a valid local id", null, localId); + console.Output("ERROR: {0} is not a valid local id", localId); return false; } @@ -118,7 +118,7 @@ namespace OpenSim.Framework.Console if (localId == 0) { if (console != null) - console.Output("ERROR: {0} is not a valid local id - it must be greater than 0", null, localId); + console.Output("ERROR: {0} is not a valid local id - it must be greater than 0", localId); return false; } @@ -150,7 +150,7 @@ namespace OpenSim.Framework.Console } if (console != null) - console.Output("ERROR: {0} is not a valid UUID or local id", null, rawId); + console.Output("ERROR: {0} is not a valid UUID or local id", rawId); return false; } @@ -167,7 +167,7 @@ namespace OpenSim.Framework.Console if (!bool.TryParse(rawConsoleString, out b)) { if (console != null) - console.Output("ERROR: {0} is not a true or false value", null, rawConsoleString); + console.Output("ERROR: {0} is not a true or false value", rawConsoleString); return false; } @@ -187,7 +187,7 @@ namespace OpenSim.Framework.Console if (!int.TryParse(rawConsoleInt, out i)) { if (console != null) - console.Output("ERROR: {0} is not a valid integer", null, rawConsoleInt); + console.Output("ERROR: {0} is not a valid integer", rawConsoleInt); return false; } @@ -207,7 +207,7 @@ namespace OpenSim.Framework.Console if (!float.TryParse(rawConsoleInput, out i)) { if (console != null) - console.Output("ERROR: {0} is not a valid float", null, rawConsoleInput); + console.Output("ERROR: {0} is not a valid float", rawConsoleInput); return false; } @@ -227,7 +227,7 @@ namespace OpenSim.Framework.Console if (!double.TryParse(rawConsoleInput, out i)) { if (console != null) - console.Output("ERROR: {0} is not a valid double", null, rawConsoleInput); + console.Output("ERROR: {0} is not a valid double", rawConsoleInput); return false; } @@ -249,7 +249,7 @@ namespace OpenSim.Framework.Console if (i < 0) { if (console != null) - console.Output("ERROR: {0} is not a positive integer", null, rawConsoleInt); + console.Output("ERROR: {0} is not a positive integer", rawConsoleInt); return false; } -- cgit v1.1