From b25f9f322cdbcde7fd8c043137bf07992e5ef318 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Tue, 15 Jan 2008 02:09:55 +0000 Subject: * 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. --- OpenSim/Framework/UserConfig.cs | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'OpenSim/Framework/UserConfig.cs') diff --git a/OpenSim/Framework/UserConfig.cs b/OpenSim/Framework/UserConfig.cs index c9957ef..a4b8a5d 100644 --- a/OpenSim/Framework/UserConfig.cs +++ b/OpenSim/Framework/UserConfig.cs @@ -26,6 +26,8 @@ * */ +using System; + namespace OpenSim.Framework { /// @@ -33,14 +35,14 @@ namespace OpenSim.Framework /// public class UserConfig { - public string DefaultStartupMsg = ""; - public string GridServerURL = ""; - public string GridSendKey = ""; - public string GridRecvKey = ""; + public string DefaultStartupMsg = String.Empty; + public string GridServerURL = String.Empty; + public string GridSendKey = String.Empty; + public string GridRecvKey = String.Empty; - public string InventoryUrl = ""; + public string InventoryUrl = String.Empty; - public string DatabaseProvider = ""; + public string DatabaseProvider = String.Empty; public static uint DefaultHttpPort = 8002; public static bool DefaultHttpSSL = false; -- cgit v1.1