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/LandData.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 'OpenSim/Framework/LandData.cs')
-rw-r--r-- | OpenSim/Framework/LandData.cs | 7 |
1 files changed, 4 insertions, 3 deletions
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 @@ | |||
26 | * | 26 | * |
27 | */ | 27 | */ |
28 | using System.Collections.Generic; | 28 | using System.Collections.Generic; |
29 | using System; | ||
29 | using libsecondlife; | 30 | using libsecondlife; |
30 | 31 | ||
31 | namespace OpenSim.Framework | 32 | namespace OpenSim.Framework |
@@ -34,7 +35,7 @@ namespace OpenSim.Framework | |||
34 | { | 35 | { |
35 | public byte[] landBitmapByteArray = new byte[512]; | 36 | public byte[] landBitmapByteArray = new byte[512]; |
36 | public string landName = "Your Parcel"; | 37 | public string landName = "Your Parcel"; |
37 | public string landDesc = ""; | 38 | public string landDesc = String.Empty; |
38 | public LLUUID ownerID = LLUUID.Zero; | 39 | public LLUUID ownerID = LLUUID.Zero; |
39 | public bool isGroupOwned = false; | 40 | public bool isGroupOwned = false; |
40 | public LLVector3 AABBMin = new LLVector3(); | 41 | public LLVector3 AABBMin = new LLVector3(); |
@@ -67,8 +68,8 @@ namespace OpenSim.Framework | |||
67 | public int localID = 0; | 68 | public int localID = 0; |
68 | public LLUUID globalID = LLUUID.Zero; | 69 | public LLUUID globalID = LLUUID.Zero; |
69 | 70 | ||
70 | public string mediaURL = ""; | 71 | public string mediaURL = String.Empty; |
71 | public string musicURL = ""; | 72 | public string musicURL = String.Empty; |
72 | public float passHours = 0; | 73 | public float passHours = 0; |
73 | public int passPrice = 0; | 74 | public int passPrice = 0; |
74 | public LLUUID snapshotID = LLUUID.Zero; | 75 | public LLUUID snapshotID = LLUUID.Zero; |