aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/Application.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/Region/Application/Application.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/Region/Application/Application.cs')
-rw-r--r--OpenSim/Region/Application/Application.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs
index ca1e9c9..d253775 100644
--- a/OpenSim/Region/Application/Application.cs
+++ b/OpenSim/Region/Application/Application.cs
@@ -45,7 +45,7 @@ namespace OpenSim
45 45
46 46
47 Console.Write("Performing compatibility checks... "); 47 Console.Write("Performing compatibility checks... ");
48 string supported = ""; 48 string supported = String.Empty;
49 if (Util.IsEnvironmentSupported(ref supported)) 49 if (Util.IsEnvironmentSupported(ref supported))
50 { 50 {
51 Console.WriteLine(" Environment is compatible.\n"); 51 Console.WriteLine(" Environment is compatible.\n");
@@ -90,7 +90,7 @@ namespace OpenSim
90 // TODO: Add config option to allow users to turn off error reporting 90 // TODO: Add config option to allow users to turn off error reporting
91 // TODO: Post error report (disabled for now) 91 // TODO: Post error report (disabled for now)
92 92
93 string msg = ""; 93 string msg = String.Empty;
94 msg += "\r\n"; 94 msg += "\r\n";
95 msg += "APPLICATION EXCEPTION DETECTED: " + e.ToString() + "\r\n"; 95 msg += "APPLICATION EXCEPTION DETECTED: " + e.ToString() + "\r\n";
96 msg += "\r\n"; 96 msg += "\r\n";