mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 20:55:43 +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:
@@ -976,7 +976,7 @@ namespace OpenSim.Region.Physics.BulletXPlugin
|
||||
public class BulletXCharacter : BulletXActor
|
||||
{
|
||||
public BulletXCharacter(BulletXScene parent_scene, PhysicsVector pos)
|
||||
: this("", parent_scene, pos)
|
||||
: this(String.Empty, parent_scene, pos)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ namespace OpenSim.Region.Physics.Meshing
|
||||
|
||||
public override String ToString()
|
||||
{
|
||||
String result = "";
|
||||
String result = String.Empty;
|
||||
foreach (Vertex v in vertices)
|
||||
{
|
||||
result += "b:" + v.ToString() + "\n";
|
||||
|
||||
@@ -83,7 +83,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
private bool m_alwaysRun = false;
|
||||
private bool m_hackSentFall = false;
|
||||
private bool m_hackSentFly = false;
|
||||
private string m_name = "";
|
||||
private string m_name = String.Empty;
|
||||
|
||||
private bool[] m_colliderarr = new bool[11];
|
||||
private bool[] m_colliderGroundarr = new bool[11];
|
||||
|
||||
Reference in New Issue
Block a user