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/Grid/UserServer/Main.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim/Grid/UserServer/Main.cs') diff --git a/OpenSim/Grid/UserServer/Main.cs b/OpenSim/Grid/UserServer/Main.cs index f40c6f6..00a1641 100644 --- a/OpenSim/Grid/UserServer/Main.cs +++ b/OpenSim/Grid/UserServer/Main.cs @@ -147,7 +147,7 @@ namespace OpenSim.Grid.UserServer regX = Convert.ToUInt32(m_console.CmdPrompt("Start Region X")); regY = Convert.ToUInt32(m_console.CmdPrompt("Start Region Y")); - tempMD5Passwd = Util.Md5Hash(Util.Md5Hash(tempMD5Passwd) + ":" + ""); + tempMD5Passwd = Util.Md5Hash(Util.Md5Hash(tempMD5Passwd) + ":" + String.Empty); LLUUID userID = new LLUUID(); try @@ -220,9 +220,9 @@ namespace OpenSim.Grid.UserServer { try { - string attri = ""; + string attri = String.Empty; attri = configData.GetAttribute("DataBaseProvider"); - if (attri == "") + if (attri == String.Empty) { StorageDll = "OpenSim.Framework.Data.DB4o.dll"; configData.SetAttribute("DataBaseProvider", "OpenSim.Framework.Data.DB4o.dll"); -- cgit v1.1