From 801da4346aeb3c08969c4845f5c595135a64470a Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Thu, 12 Feb 2009 09:53:12 +0000 Subject: * optimized usings. --- OpenSim/Region/Application/Application.cs | 2 -- OpenSim/Region/Application/ConfigurationLoader.cs | 13 ++++--------- OpenSim/Region/Application/HGOpenSimNode.cs | 16 +++------------- OpenSim/Region/Application/OpenSim.cs | 8 ++------ OpenSim/Region/Application/OpenSimBase.cs | 6 +----- 5 files changed, 10 insertions(+), 35 deletions(-) (limited to 'OpenSim/Region/Application') diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs index 0195bfa..b8fa786 100644 --- a/OpenSim/Region/Application/Application.cs +++ b/OpenSim/Region/Application/Application.cs @@ -27,14 +27,12 @@ using System; using System.IO; -using System.Net; using System.Reflection; using log4net; using log4net.Config; using Nini.Config; using OpenSim.Framework; using OpenSim.Framework.Console; -using OpenSim.Region.Framework.Scenes; namespace OpenSim { diff --git a/OpenSim/Region/Application/ConfigurationLoader.cs b/OpenSim/Region/Application/ConfigurationLoader.cs index 3492a19..228c0aa 100644 --- a/OpenSim/Region/Application/ConfigurationLoader.cs +++ b/OpenSim/Region/Application/ConfigurationLoader.cs @@ -26,18 +26,13 @@ */ using System; -using System.Collections.Generic; -using System.Text; -using System.Xml; -using System.Threading; using System.IO; -using OpenSim.Framework; -using Nini; -using Nini.Config; - using System.Reflection; +using System.Threading; +using System.Xml; using log4net; - +using Nini.Config; +using OpenSim.Framework; namespace OpenSim { diff --git a/OpenSim/Region/Application/HGOpenSimNode.cs b/OpenSim/Region/Application/HGOpenSimNode.cs index 03e22ca..7d4a39c 100644 --- a/OpenSim/Region/Application/HGOpenSimNode.cs +++ b/OpenSim/Region/Application/HGOpenSimNode.cs @@ -26,31 +26,21 @@ */ using System; -using System.Collections; using System.Collections.Generic; -using System.IO; -using System.Net; using System.Reflection; -using System.Xml; using log4net; using Nini.Config; using OpenSim.Framework; -using OpenSim.Framework.Console; -using OpenSim.Framework.Servers; -using OpenSim.Framework.Statistics; -using OpenSim.Region.ClientStack; using OpenSim.Framework.Communications; using OpenSim.Framework.Communications.Cache; -using OpenSim.Region.Communications.Local; +using OpenSim.Framework.Console; +using OpenSim.Framework.Servers; using OpenSim.Region.Communications.Hypergrid; -using OpenSim.Region.CoreModules; +using OpenSim.Region.Communications.Local; using OpenSim.Region.Framework; -using OpenSim.Region.Framework.Interfaces; using OpenSim.Region.Framework.Scenes; using OpenSim.Region.Framework.Scenes.Hypergrid; -using Timer = System.Timers.Timer; - namespace OpenSim { public class HGOpenSimNode : OpenSim diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index fbe3813..fdc55c7 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs @@ -29,20 +29,16 @@ using System; using System.Collections; using System.Collections.Generic; using System.IO; -using System.Net; using System.Reflection; -using System.Runtime; -using System.Threading; -using OpenMetaverse; +using System.Timers; using log4net; using Nini.Config; +using OpenMetaverse; using OpenSim.Framework; using OpenSim.Framework.Console; using OpenSim.Framework.Statistics; using OpenSim.Region.Framework.Interfaces; using OpenSim.Region.Framework.Scenes; -using OpenSim.Region.CoreModules.Avatar.Inventory.Archiver; -using Timer = System.Timers.Timer; namespace OpenSim { diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index 43cb127..f4e28be 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs @@ -28,11 +28,8 @@ using System; using System.Collections.Generic; using System.IO; -using System.Net; using System.Reflection; using System.Text; -using System.Threading; -using OpenMetaverse; using log4net; using Nini.Config; using OpenSim.Framework; @@ -44,7 +41,6 @@ using OpenSim.Framework.Statistics; using OpenSim.Region.ClientStack; using OpenSim.Region.Communications.Local; using OpenSim.Region.Communications.OGS1; -using OpenSim.Region.CoreModules; using OpenSim.Region.Framework; using OpenSim.Region.Framework.Interfaces; using OpenSim.Region.Framework.Scenes; @@ -446,7 +442,7 @@ namespace OpenSim // Carrying on now causes a lot of confusion down the // line - we need to get the user's attention - System.Environment.Exit(1); + Environment.Exit(1); } // We need to do this after we've initialized the -- cgit v1.1