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/Framework/NetworkServersInfo.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/Framework/NetworkServersInfo.cs | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/OpenSim/Framework/NetworkServersInfo.cs b/OpenSim/Framework/NetworkServersInfo.cs index cf1457d..c67a6bf 100644 --- a/OpenSim/Framework/NetworkServersInfo.cs +++ b/OpenSim/Framework/NetworkServersInfo.cs | |||
@@ -27,23 +27,24 @@ | |||
27 | */ | 27 | */ |
28 | 28 | ||
29 | using Nini.Config; | 29 | using Nini.Config; |
30 | using System; | ||
30 | 31 | ||
31 | namespace OpenSim.Framework | 32 | namespace OpenSim.Framework |
32 | { | 33 | { |
33 | public class NetworkServersInfo | 34 | public class NetworkServersInfo |
34 | { | 35 | { |
35 | public string AssetURL = "http://127.0.0.1:" + AssetConfig.DefaultHttpPort.ToString() + "/"; | 36 | public string AssetURL = "http://127.0.0.1:" + AssetConfig.DefaultHttpPort.ToString() + "/"; |
36 | public string AssetSendKey = ""; | 37 | public string AssetSendKey = String.Empty; |
37 | 38 | ||
38 | public string GridURL = ""; | 39 | public string GridURL = String.Empty; |
39 | public string GridSendKey = ""; | 40 | public string GridSendKey = String.Empty; |
40 | public string GridRecvKey = ""; | 41 | public string GridRecvKey = String.Empty; |
41 | public string UserURL = ""; | 42 | public string UserURL = String.Empty; |
42 | public string UserSendKey = ""; | 43 | public string UserSendKey = String.Empty; |
43 | public string UserRecvKey = ""; | 44 | public string UserRecvKey = String.Empty; |
44 | public bool isSandbox; | 45 | public bool isSandbox; |
45 | 46 | ||
46 | public string InventoryURL = ""; | 47 | public string InventoryURL = String.Empty; |
47 | 48 | ||
48 | public static uint DefaultHttpListenerPort = 9000; | 49 | public static uint DefaultHttpListenerPort = 9000; |
49 | public uint HttpListenerPort = DefaultHttpListenerPort; | 50 | public uint HttpListenerPort = DefaultHttpListenerPort; |