mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +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:
@@ -395,7 +395,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
set { m_acceleration = value; }
|
||||
}
|
||||
|
||||
private string m_description = "";
|
||||
private string m_description = String.Empty;
|
||||
|
||||
public string Description
|
||||
{
|
||||
@@ -418,7 +418,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
}
|
||||
}
|
||||
|
||||
private string m_text = "";
|
||||
private string m_text = String.Empty;
|
||||
|
||||
public Vector3 SitTargetPosition
|
||||
{
|
||||
@@ -440,7 +440,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
}
|
||||
}
|
||||
|
||||
private string m_sitName = "";
|
||||
private string m_sitName = String.Empty;
|
||||
|
||||
public string SitName
|
||||
{
|
||||
@@ -448,7 +448,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
set { m_sitName = value; }
|
||||
}
|
||||
|
||||
private string m_touchName = "";
|
||||
private string m_touchName = String.Empty;
|
||||
|
||||
public string TouchName
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user