aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Configuration
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/Configuration
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/Configuration')
-rw-r--r--OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs2
-rw-r--r--OpenSim/Framework/Configuration/HTTP/RemoteConfigSettings.cs2
-rw-r--r--OpenSim/Framework/Configuration/XML/XmlConfiguration.cs4
3 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs b/OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs
index 0d48683..e27c88b 100644
--- a/OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs
+++ b/OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs
@@ -39,7 +39,7 @@ namespace OpenSim.Framework.Configuration.HTTP
39 39
40 private XmlConfiguration xmlConfig; 40 private XmlConfiguration xmlConfig;
41 41
42 private string configFileName = ""; 42 private string configFileName = System.String.Empty;
43 43
44 public HTTPConfiguration() 44 public HTTPConfiguration()
45 { 45 {
diff --git a/OpenSim/Framework/Configuration/HTTP/RemoteConfigSettings.cs b/OpenSim/Framework/Configuration/HTTP/RemoteConfigSettings.cs
index 8fddb60..8575d3b 100644
--- a/OpenSim/Framework/Configuration/HTTP/RemoteConfigSettings.cs
+++ b/OpenSim/Framework/Configuration/HTTP/RemoteConfigSettings.cs
@@ -32,7 +32,7 @@ namespace OpenSim.Framework.Configuration.HTTP
32 { 32 {
33 private ConfigurationMember configMember; 33 private ConfigurationMember configMember;
34 34
35 public string baseConfigURL = ""; 35 public string baseConfigURL = System.String.Empty;
36 36
37 public RemoteConfigSettings(string filename) 37 public RemoteConfigSettings(string filename)
38 { 38 {
diff --git a/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs b/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs
index 8bb31f8..4c50e53 100644
--- a/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs
+++ b/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs
@@ -71,9 +71,9 @@ namespace OpenSim.Framework.Configuration
71 else 71 else
72 { 72 {
73 createdFile = true; 73 createdFile = true;
74 rootNode = doc.CreateNode(XmlNodeType.Element, "Root", ""); 74 rootNode = doc.CreateNode(XmlNodeType.Element, "Root", String.Empty);
75 doc.AppendChild(rootNode); 75 doc.AppendChild(rootNode);
76 configNode = doc.CreateNode(XmlNodeType.Element, "Config", ""); 76 configNode = doc.CreateNode(XmlNodeType.Element, "Config", String.Empty);
77 rootNode.AppendChild(configNode); 77 rootNode.AppendChild(configNode);
78 } 78 }
79 79