diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Console/LogBase.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Console/LogBase.cs b/OpenSim/Framework/Console/LogBase.cs index e7b1945..6235c07 100644 --- a/OpenSim/Framework/Console/LogBase.cs +++ b/OpenSim/Framework/Console/LogBase.cs | |||
@@ -298,7 +298,7 @@ namespace OpenSim.Framework.Console | |||
298 | catch (Exception e) | 298 | catch (Exception e) |
299 | { | 299 | { |
300 | MainLog.Instance.Error("Console", "System.Console.ReadLine exception " + e.ToString()); | 300 | MainLog.Instance.Error("Console", "System.Console.ReadLine exception " + e.ToString()); |
301 | return ""; | 301 | return String.Empty; |
302 | } | 302 | } |
303 | } | 303 | } |
304 | 304 | ||
@@ -377,7 +377,7 @@ namespace OpenSim.Framework.Console | |||
377 | public string CmdPrompt(string prompt, string defaultresponse) | 377 | public string CmdPrompt(string prompt, string defaultresponse) |
378 | { | 378 | { |
379 | string temp = CmdPrompt(String.Format("{0} [{1}]", prompt, defaultresponse)); | 379 | string temp = CmdPrompt(String.Format("{0} [{1}]", prompt, defaultresponse)); |
380 | if (temp == "") | 380 | if (temp == String.Empty) |
381 | { | 381 | { |
382 | return defaultresponse; | 382 | return defaultresponse; |
383 | } | 383 | } |