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:
@@ -39,7 +39,7 @@ namespace OpenSim.Framework.Configuration.HTTP
|
||||
|
||||
private XmlConfiguration xmlConfig;
|
||||
|
||||
private string configFileName = "";
|
||||
private string configFileName = System.String.Empty;
|
||||
|
||||
public HTTPConfiguration()
|
||||
{
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace OpenSim.Framework.Configuration.HTTP
|
||||
{
|
||||
private ConfigurationMember configMember;
|
||||
|
||||
public string baseConfigURL = "";
|
||||
public string baseConfigURL = System.String.Empty;
|
||||
|
||||
public RemoteConfigSettings(string filename)
|
||||
{
|
||||
|
||||
@@ -71,9 +71,9 @@ namespace OpenSim.Framework.Configuration
|
||||
else
|
||||
{
|
||||
createdFile = true;
|
||||
rootNode = doc.CreateNode(XmlNodeType.Element, "Root", "");
|
||||
rootNode = doc.CreateNode(XmlNodeType.Element, "Root", String.Empty);
|
||||
doc.AppendChild(rootNode);
|
||||
configNode = doc.CreateNode(XmlNodeType.Element, "Config", "");
|
||||
configNode = doc.CreateNode(XmlNodeType.Element, "Config", String.Empty);
|
||||
rootNode.AppendChild(configNode);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user