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/Data/RegionProfileData.cs | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'OpenSim/Framework/Data/RegionProfileData.cs') 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 /// /// The name of the region /// - public string regionName = ""; + public string regionName = String.Empty; /// /// A 64-bit number combining map position into a (mostly) unique ID @@ -65,10 +65,10 @@ namespace OpenSim.Framework.Data /// Authentication secrets /// /// Not very secure, needs improvement. - public string regionSendKey = ""; + public string regionSendKey = String.Empty; - public string regionRecvKey = ""; - public string regionSecret = ""; + public string regionRecvKey = String.Empty; + public string regionSecret = String.Empty; /// /// Whether the region is online @@ -78,14 +78,14 @@ namespace OpenSim.Framework.Data /// /// Information about the server that the region is currently hosted on /// - public string serverIP = ""; + public string serverIP = String.Empty; public uint serverPort; - public string serverURI = ""; + public string serverURI = String.Empty; public uint httpPort; public uint remotingPort; - public string httpServerURI = ""; + public string httpServerURI = String.Empty; /// /// Set of optional overrides. Can be used to create non-eulicidean spaces. @@ -100,23 +100,23 @@ namespace OpenSim.Framework.Data /// Optional: URI Location of the region database /// /// Used for floating sim pools where the region data is not nessecarily coupled to a specific server - public string regionDataURI = ""; + public string regionDataURI = String.Empty; /// /// Region Asset Details /// - public string regionAssetURI = ""; + public string regionAssetURI = String.Empty; - public string regionAssetSendKey = ""; - public string regionAssetRecvKey = ""; + public string regionAssetSendKey = String.Empty; + public string regionAssetRecvKey = String.Empty; /// /// Region Userserver Details /// - public string regionUserURI = ""; + public string regionUserURI = String.Empty; - public string regionUserSendKey = ""; - public string regionUserRecvKey = ""; + public string regionUserSendKey = String.Empty; + public string regionUserRecvKey = String.Empty; /// /// Region Map Texture Asset -- cgit v1.1