diff options
author | Adam Frisby | 2008-04-21 07:09:17 +0000 |
---|---|---|
committer | Adam Frisby | 2008-04-21 07:09:17 +0000 |
commit | fef3b3689492dea63693c964bcdbec9f5137eb5e (patch) | |
tree | 7791eef001d85d3e1de863a68f26ff9434d062ca /OpenSim/Framework/Configuration/HTTP | |
parent | * Terrain Module code has been reformatted to comply with guidelines. (diff) | |
download | opensim-SC_OLD-fef3b3689492dea63693c964bcdbec9f5137eb5e.zip opensim-SC_OLD-fef3b3689492dea63693c964bcdbec9f5137eb5e.tar.gz opensim-SC_OLD-fef3b3689492dea63693c964bcdbec9f5137eb5e.tar.bz2 opensim-SC_OLD-fef3b3689492dea63693c964bcdbec9f5137eb5e.tar.xz |
* Optimised using statements and namespace references across entire project (this took a while to run).
Diffstat (limited to 'OpenSim/Framework/Configuration/HTTP')
-rw-r--r-- | OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs | 8 | ||||
-rw-r--r-- | OpenSim/Framework/Configuration/HTTP/RemoteConfigSettings.cs | 4 |
2 files changed, 8 insertions, 4 deletions
diff --git a/OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs b/OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs index 1fb4866..e985c06 100644 --- a/OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs +++ b/OpenSim/Framework/Configuration/HTTP/HTTPConfiguration.cs | |||
@@ -25,22 +25,24 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | ||
28 | using System.IO; | 29 | using System.IO; |
29 | using System.Net; | 30 | using System.Net; |
31 | using System.Reflection; | ||
30 | using System.Text; | 32 | using System.Text; |
31 | using OpenSim.Framework.Console; | 33 | using log4net; |
32 | 34 | ||
33 | namespace OpenSim.Framework.Configuration.HTTP | 35 | namespace OpenSim.Framework.Configuration.HTTP |
34 | { | 36 | { |
35 | public class HTTPConfiguration : IGenericConfig | 37 | public class HTTPConfiguration : IGenericConfig |
36 | { | 38 | { |
37 | private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); | 39 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
38 | 40 | ||
39 | private RemoteConfigSettings remoteConfigSettings; | 41 | private RemoteConfigSettings remoteConfigSettings; |
40 | 42 | ||
41 | private XmlConfiguration xmlConfig; | 43 | private XmlConfiguration xmlConfig; |
42 | 44 | ||
43 | private string configFileName = System.String.Empty; | 45 | private string configFileName = String.Empty; |
44 | 46 | ||
45 | public HTTPConfiguration() | 47 | public HTTPConfiguration() |
46 | { | 48 | { |
diff --git a/OpenSim/Framework/Configuration/HTTP/RemoteConfigSettings.cs b/OpenSim/Framework/Configuration/HTTP/RemoteConfigSettings.cs index 88945ff..4e37ec6 100644 --- a/OpenSim/Framework/Configuration/HTTP/RemoteConfigSettings.cs +++ b/OpenSim/Framework/Configuration/HTTP/RemoteConfigSettings.cs | |||
@@ -25,13 +25,15 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | ||
29 | |||
28 | namespace OpenSim.Framework.Configuration.HTTP | 30 | namespace OpenSim.Framework.Configuration.HTTP |
29 | { | 31 | { |
30 | public class RemoteConfigSettings | 32 | public class RemoteConfigSettings |
31 | { | 33 | { |
32 | private ConfigurationMember configMember; | 34 | private ConfigurationMember configMember; |
33 | 35 | ||
34 | public string baseConfigURL = System.String.Empty; | 36 | public string baseConfigURL = String.Empty; |
35 | 37 | ||
36 | public RemoteConfigSettings(string filename) | 38 | public RemoteConfigSettings(string filename) |
37 | { | 39 | { |