aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console/LogBase.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-01-15 02:09:55 +0000
committerAdam Frisby2008-01-15 02:09:55 +0000
commitb25f9f322cdbcde7fd8c043137bf07992e5ef318 (patch)
tree7c1a5115b2849dfe388b825dd271271d347f9574 /OpenSim/Framework/Console/LogBase.cs
parentSet svn:eol-style. (diff)
downloadopensim-SC-b25f9f322cdbcde7fd8c043137bf07992e5ef318.zip
opensim-SC-b25f9f322cdbcde7fd8c043137bf07992e5ef318.tar.gz
opensim-SC-b25f9f322cdbcde7fd8c043137bf07992e5ef318.tar.bz2
opensim-SC-b25f9f322cdbcde7fd8c043137bf07992e5ef318.tar.xz
* Mother of all commits:
* Cleaned up copyright notices in AssemblyInfo.cs's * Added Copyright headers to a bunch of files missing them * Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
Diffstat (limited to 'OpenSim/Framework/Console/LogBase.cs')
-rw-r--r--OpenSim/Framework/Console/LogBase.cs4
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 }