aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/AgentInventory.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/AgentInventory.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/AgentInventory.cs')
-rw-r--r--OpenSim/Framework/AgentInventory.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/AgentInventory.cs b/OpenSim/Framework/AgentInventory.cs
index 84a782b..83040a3 100644
--- a/OpenSim/Framework/AgentInventory.cs
+++ b/OpenSim/Framework/AgentInventory.cs
@@ -234,7 +234,7 @@ namespace OpenSim.Framework
234 public LLUUID CreatorID; 234 public LLUUID CreatorID;
235 public sbyte InvType; 235 public sbyte InvType;
236 public sbyte Type; 236 public sbyte Type;
237 public string Name = ""; 237 public string Name = System.String.Empty;
238 public string Description; 238 public string Description;
239 239
240 public InventoryItem() 240 public InventoryItem()
@@ -245,7 +245,7 @@ namespace OpenSim.Framework
245 public string ExportString() 245 public string ExportString()
246 { 246 {
247 string typ = "notecard"; 247 string typ = "notecard";
248 string result = ""; 248 string result = System.String.Empty;
249 result += "\tinv_object\t0\n\t{\n"; 249 result += "\tinv_object\t0\n\t{\n";
250 result += "\t\tobj_id\t%s\n"; 250 result += "\t\tobj_id\t%s\n";
251 result += "\t\tparent_id\t" + ItemID.ToString() + "\n"; 251 result += "\t\tparent_id\t" + ItemID.ToString() + "\n";