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/LandData.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'OpenSim/Framework/LandData.cs') diff --git a/OpenSim/Framework/LandData.cs b/OpenSim/Framework/LandData.cs index 885545d..bb99b27 100644 --- a/OpenSim/Framework/LandData.cs +++ b/OpenSim/Framework/LandData.cs @@ -26,6 +26,7 @@ * */ using System.Collections.Generic; +using System; using libsecondlife; namespace OpenSim.Framework @@ -34,7 +35,7 @@ namespace OpenSim.Framework { public byte[] landBitmapByteArray = new byte[512]; public string landName = "Your Parcel"; - public string landDesc = ""; + public string landDesc = String.Empty; public LLUUID ownerID = LLUUID.Zero; public bool isGroupOwned = false; public LLVector3 AABBMin = new LLVector3(); @@ -67,8 +68,8 @@ namespace OpenSim.Framework public int localID = 0; public LLUUID globalID = LLUUID.Zero; - public string mediaURL = ""; - public string musicURL = ""; + public string mediaURL = String.Empty; + public string musicURL = String.Empty; public float passHours = 0; public int passPrice = 0; public LLUUID snapshotID = LLUUID.Zero; -- cgit v1.1