aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/TaskInventoryItem.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-01-15 02:09:55 +0000
committerAdam Frisby2008-01-15 02:09:55 +0000
commitb25f9f322cdbcde7fd8c043137bf07992e5ef318 (patch)
tree7c1a5115b2849dfe388b825dd271271d347f9574 /OpenSim/Framework/TaskInventoryItem.cs
parentSet svn:eol-style. (diff)
downloadopensim-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/TaskInventoryItem.cs')
-rw-r--r--OpenSim/Framework/TaskInventoryItem.cs41
1 files changed, 21 insertions, 20 deletions
diff --git a/OpenSim/Framework/TaskInventoryItem.cs b/OpenSim/Framework/TaskInventoryItem.cs
index 196e096..107993b 100644
--- a/OpenSim/Framework/TaskInventoryItem.cs
+++ b/OpenSim/Framework/TaskInventoryItem.cs
@@ -27,6 +27,7 @@
27*/ 27*/
28 28
29using libsecondlife; 29using libsecondlife;
30using System;
30 31
31namespace OpenSim.Framework 32namespace OpenSim.Framework
32{ 33{
@@ -44,16 +45,16 @@ namespace OpenSim.Framework
44 { 45 {
45 "texture", 46 "texture",
46 "sound", 47 "sound",
47 "", 48 String.Empty,
48 "", 49 String.Empty,
49 "", 50 String.Empty,
50 "", 51 String.Empty,
51 "", 52 String.Empty,
52 "", 53 String.Empty,
53 "", 54 String.Empty,
54 "", 55 String.Empty,
55 "lsl_text", 56 "lsl_text",
56 "" 57 String.Empty
57 }; 58 };
58 59
59 /// <summary> 60 /// <summary>
@@ -63,16 +64,16 @@ namespace OpenSim.Framework
63 { 64 {
64 "texture", 65 "texture",
65 "sound", 66 "sound",
66 "", 67 String.Empty,
67 "", 68 String.Empty,
68 "", 69 String.Empty,
69 "", 70 String.Empty,
70 "", 71 String.Empty,
71 "", 72 String.Empty,
72 "", 73 String.Empty,
73 "", 74 String.Empty,
74 "lsltext", 75 "lsltext",
75 "" 76 String.Empty
76 }; 77 };
77 78
78 public LLUUID item_id = LLUUID.Zero; 79 public LLUUID item_id = LLUUID.Zero;
@@ -92,8 +93,8 @@ namespace OpenSim.Framework
92 public int type = 0; 93 public int type = 0;
93 public int inv_type = 0; 94 public int inv_type = 0;
94 public uint flags = 0; 95 public uint flags = 0;
95 public string name = ""; 96 public string name = String.Empty;
96 public string desc = ""; 97 public string desc = String.Empty;
97 public uint creation_date = 0; 98 public uint creation_date = 0;
98 99
99 public LLUUID ParentPartID = LLUUID.Zero; 100 public LLUUID ParentPartID = LLUUID.Zero;