diff options
author | Adam Frisby | 2008-01-15 02:09:55 +0000 |
---|---|---|
committer | Adam Frisby | 2008-01-15 02:09:55 +0000 |
commit | b25f9f322cdbcde7fd8c043137bf07992e5ef318 (patch) | |
tree | 7c1a5115b2849dfe388b825dd271271d347f9574 /OpenSim/Grid/UserServer/Main.cs | |
parent | Set svn:eol-style. (diff) | |
download | opensim-SC_OLD-b25f9f322cdbcde7fd8c043137bf07992e5ef318.zip opensim-SC_OLD-b25f9f322cdbcde7fd8c043137bf07992e5ef318.tar.gz opensim-SC_OLD-b25f9f322cdbcde7fd8c043137bf07992e5ef318.tar.bz2 opensim-SC_OLD-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 '')
-rw-r--r-- | OpenSim/Grid/UserServer/Main.cs | 6 |
1 files changed, 3 insertions, 3 deletions
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 | |||
147 | regX = Convert.ToUInt32(m_console.CmdPrompt("Start Region X")); | 147 | regX = Convert.ToUInt32(m_console.CmdPrompt("Start Region X")); |
148 | regY = Convert.ToUInt32(m_console.CmdPrompt("Start Region Y")); | 148 | regY = Convert.ToUInt32(m_console.CmdPrompt("Start Region Y")); |
149 | 149 | ||
150 | tempMD5Passwd = Util.Md5Hash(Util.Md5Hash(tempMD5Passwd) + ":" + ""); | 150 | tempMD5Passwd = Util.Md5Hash(Util.Md5Hash(tempMD5Passwd) + ":" + String.Empty); |
151 | 151 | ||
152 | LLUUID userID = new LLUUID(); | 152 | LLUUID userID = new LLUUID(); |
153 | try | 153 | try |
@@ -220,9 +220,9 @@ namespace OpenSim.Grid.UserServer | |||
220 | { | 220 | { |
221 | try | 221 | try |
222 | { | 222 | { |
223 | string attri = ""; | 223 | string attri = String.Empty; |
224 | attri = configData.GetAttribute("DataBaseProvider"); | 224 | attri = configData.GetAttribute("DataBaseProvider"); |
225 | if (attri == "") | 225 | if (attri == String.Empty) |
226 | { | 226 | { |
227 | StorageDll = "OpenSim.Framework.Data.DB4o.dll"; | 227 | StorageDll = "OpenSim.Framework.Data.DB4o.dll"; |
228 | configData.SetAttribute("DataBaseProvider", "OpenSim.Framework.Data.DB4o.dll"); | 228 | configData.SetAttribute("DataBaseProvider", "OpenSim.Framework.Data.DB4o.dll"); |