mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
* 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.
This commit is contained in:
@@ -41,7 +41,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
{
|
||||
public partial class SceneObjectPart : IScriptHost
|
||||
{
|
||||
private string m_inventoryFileName = "";
|
||||
private string m_inventoryFileName = String.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// The inventory folder for this prim
|
||||
@@ -334,7 +334,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
|
||||
public class InventoryStringBuilder
|
||||
{
|
||||
public string BuildString = "";
|
||||
public string BuildString = String.Empty;
|
||||
|
||||
public InventoryStringBuilder(LLUUID folderID, LLUUID parentID)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user