diff options
author | Adam Frisby | 2008-01-15 02:09:55 +0000 |
---|---|---|
committer | Adam Frisby | 2008-01-15 02:09:55 +0000 |
commit | b25f9f322cdbcde7fd8c043137bf07992e5ef318 (patch) | |
tree | 7c1a5115b2849dfe388b825dd271271d347f9574 /OpenSim/Framework/ConfigurationOption.cs | |
parent | Set svn:eol-style. (diff) | |
download | opensim-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 '')
-rw-r--r-- | OpenSim/Framework/ConfigurationOption.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Framework/ConfigurationOption.cs b/OpenSim/Framework/ConfigurationOption.cs index 7f9b5b5..d8be6f8 100644 --- a/OpenSim/Framework/ConfigurationOption.cs +++ b/OpenSim/Framework/ConfigurationOption.cs | |||
@@ -26,6 +26,8 @@ | |||
26 | * | 26 | * |
27 | */ | 27 | */ |
28 | 28 | ||
29 | using System; | ||
30 | |||
29 | namespace OpenSim.Framework | 31 | namespace OpenSim.Framework |
30 | { | 32 | { |
31 | public class ConfigurationOption | 33 | public class ConfigurationOption |
@@ -52,9 +54,9 @@ namespace OpenSim.Framework | |||
52 | TYPE_DOUBLE | 54 | TYPE_DOUBLE |
53 | } ; | 55 | } ; |
54 | 56 | ||
55 | public string configurationKey = ""; | 57 | public string configurationKey = String.Empty; |
56 | public string configurationQuestion = ""; | 58 | public string configurationQuestion = String.Empty; |
57 | public string configurationDefault = ""; | 59 | public string configurationDefault = String.Empty; |
58 | 60 | ||
59 | public ConfigurationTypes configurationType = ConfigurationTypes.TYPE_STRING; | 61 | public ConfigurationTypes configurationType = ConfigurationTypes.TYPE_STRING; |
60 | public bool configurationUseDefaultNoPrompt = false; | 62 | public bool configurationUseDefaultNoPrompt = false; |