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/Data/RegionProfileData.cs | |
parent | Set svn:eol-style. (diff) | |
download | opensim-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 '')
-rw-r--r-- | OpenSim/Framework/Data/RegionProfileData.cs | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/OpenSim/Framework/Data/RegionProfileData.cs b/OpenSim/Framework/Data/RegionProfileData.cs index ec50baa..779e98c 100644 --- a/OpenSim/Framework/Data/RegionProfileData.cs +++ b/OpenSim/Framework/Data/RegionProfileData.cs | |||
@@ -41,7 +41,7 @@ namespace OpenSim.Framework.Data | |||
41 | /// <summary> | 41 | /// <summary> |
42 | /// The name of the region | 42 | /// The name of the region |
43 | /// </summary> | 43 | /// </summary> |
44 | public string regionName = ""; | 44 | public string regionName = String.Empty; |
45 | 45 | ||
46 | /// <summary> | 46 | /// <summary> |
47 | /// A 64-bit number combining map position into a (mostly) unique ID | 47 | /// A 64-bit number combining map position into a (mostly) unique ID |
@@ -65,10 +65,10 @@ namespace OpenSim.Framework.Data | |||
65 | /// Authentication secrets | 65 | /// Authentication secrets |
66 | /// </summary> | 66 | /// </summary> |
67 | /// <remarks>Not very secure, needs improvement.</remarks> | 67 | /// <remarks>Not very secure, needs improvement.</remarks> |
68 | public string regionSendKey = ""; | 68 | public string regionSendKey = String.Empty; |
69 | 69 | ||
70 | public string regionRecvKey = ""; | 70 | public string regionRecvKey = String.Empty; |
71 | public string regionSecret = ""; | 71 | public string regionSecret = String.Empty; |
72 | 72 | ||
73 | /// <summary> | 73 | /// <summary> |
74 | /// Whether the region is online | 74 | /// Whether the region is online |
@@ -78,14 +78,14 @@ namespace OpenSim.Framework.Data | |||
78 | /// <summary> | 78 | /// <summary> |
79 | /// Information about the server that the region is currently hosted on | 79 | /// Information about the server that the region is currently hosted on |
80 | /// </summary> | 80 | /// </summary> |
81 | public string serverIP = ""; | 81 | public string serverIP = String.Empty; |
82 | 82 | ||
83 | public uint serverPort; | 83 | public uint serverPort; |
84 | public string serverURI = ""; | 84 | public string serverURI = String.Empty; |
85 | 85 | ||
86 | public uint httpPort; | 86 | public uint httpPort; |
87 | public uint remotingPort; | 87 | public uint remotingPort; |
88 | public string httpServerURI = ""; | 88 | public string httpServerURI = String.Empty; |
89 | 89 | ||
90 | /// <summary> | 90 | /// <summary> |
91 | /// Set of optional overrides. Can be used to create non-eulicidean spaces. | 91 | /// Set of optional overrides. Can be used to create non-eulicidean spaces. |
@@ -100,23 +100,23 @@ namespace OpenSim.Framework.Data | |||
100 | /// Optional: URI Location of the region database | 100 | /// Optional: URI Location of the region database |
101 | /// </summary> | 101 | /// </summary> |
102 | /// <remarks>Used for floating sim pools where the region data is not nessecarily coupled to a specific server</remarks> | 102 | /// <remarks>Used for floating sim pools where the region data is not nessecarily coupled to a specific server</remarks> |
103 | public string regionDataURI = ""; | 103 | public string regionDataURI = String.Empty; |
104 | 104 | ||
105 | /// <summary> | 105 | /// <summary> |
106 | /// Region Asset Details | 106 | /// Region Asset Details |
107 | /// </summary> | 107 | /// </summary> |
108 | public string regionAssetURI = ""; | 108 | public string regionAssetURI = String.Empty; |
109 | 109 | ||
110 | public string regionAssetSendKey = ""; | 110 | public string regionAssetSendKey = String.Empty; |
111 | public string regionAssetRecvKey = ""; | 111 | public string regionAssetRecvKey = String.Empty; |
112 | 112 | ||
113 | /// <summary> | 113 | /// <summary> |
114 | /// Region Userserver Details | 114 | /// Region Userserver Details |
115 | /// </summary> | 115 | /// </summary> |
116 | public string regionUserURI = ""; | 116 | public string regionUserURI = String.Empty; |
117 | 117 | ||
118 | public string regionUserSendKey = ""; | 118 | public string regionUserSendKey = String.Empty; |
119 | public string regionUserRecvKey = ""; | 119 | public string regionUserRecvKey = String.Empty; |
120 | 120 | ||
121 | /// <summary> | 121 | /// <summary> |
122 | /// Region Map Texture Asset | 122 | /// Region Map Texture Asset |