diff options
author | lbsa71 | 2009-02-12 09:53:12 +0000 |
---|---|---|
committer | lbsa71 | 2009-02-12 09:53:12 +0000 |
commit | 801da4346aeb3c08969c4845f5c595135a64470a (patch) | |
tree | 2f06e24c72e0d513c8e4c6aa9b75cd2c7b50f393 /OpenSim/Framework/Communications | |
parent | Thanks Kitto Flora for a patch that adds automatic min fly height to ODE - Ma... (diff) | |
download | opensim-SC-801da4346aeb3c08969c4845f5c595135a64470a.zip opensim-SC-801da4346aeb3c08969c4845f5c595135a64470a.tar.gz opensim-SC-801da4346aeb3c08969c4845f5c595135a64470a.tar.bz2 opensim-SC-801da4346aeb3c08969c4845f5c595135a64470a.tar.xz |
* optimized usings.
Diffstat (limited to 'OpenSim/Framework/Communications')
31 files changed, 28 insertions, 75 deletions
diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs index 2296e46..1c8f9d6 100644 --- a/OpenSim/Framework/Communications/Cache/AssetCache.cs +++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs | |||
@@ -29,11 +29,11 @@ using System; | |||
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Reflection; | 30 | using System.Reflection; |
31 | using System.Threading; | 31 | using System.Threading; |
32 | using GlynnTucker.Cache; | ||
33 | using log4net; | ||
32 | using OpenMetaverse; | 34 | using OpenMetaverse; |
33 | using OpenMetaverse.Packets; | 35 | using OpenMetaverse.Packets; |
34 | using log4net; | ||
35 | using OpenSim.Framework.Statistics; | 36 | using OpenSim.Framework.Statistics; |
36 | using GlynnTucker.Cache; | ||
37 | 37 | ||
38 | namespace OpenSim.Framework.Communications.Cache | 38 | namespace OpenSim.Framework.Communications.Cache |
39 | { | 39 | { |
diff --git a/OpenSim/Framework/Communications/Cache/AssetServerBase.cs b/OpenSim/Framework/Communications/Cache/AssetServerBase.cs index cc5ba8e..5c902ec 100644 --- a/OpenSim/Framework/Communications/Cache/AssetServerBase.cs +++ b/OpenSim/Framework/Communications/Cache/AssetServerBase.cs | |||
@@ -28,11 +28,11 @@ | |||
28 | using System; | 28 | using System; |
29 | using System.Reflection; | 29 | using System.Reflection; |
30 | using System.Threading; | 30 | using System.Threading; |
31 | using OpenMetaverse; | ||
32 | using log4net; | 31 | using log4net; |
32 | using OpenMetaverse; | ||
33 | using OpenSim.Data; | ||
33 | using OpenSim.Framework.AssetLoader.Filesystem; | 34 | using OpenSim.Framework.AssetLoader.Filesystem; |
34 | using OpenSim.Framework.Statistics; | 35 | using OpenSim.Framework.Statistics; |
35 | using OpenSim.Data; | ||
36 | 36 | ||
37 | namespace OpenSim.Framework.Communications.Cache | 37 | namespace OpenSim.Framework.Communications.Cache |
38 | { | 38 | { |
diff --git a/OpenSim/Framework/Communications/Cache/AuthedSessionCache.cs b/OpenSim/Framework/Communications/Cache/AuthedSessionCache.cs index be10e96..d56e48a 100644 --- a/OpenSim/Framework/Communications/Cache/AuthedSessionCache.cs +++ b/OpenSim/Framework/Communications/Cache/AuthedSessionCache.cs | |||
@@ -27,7 +27,6 @@ | |||
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | ||
31 | 30 | ||
32 | namespace OpenSim.Framework.Communications.Cache | 31 | namespace OpenSim.Framework.Communications.Cache |
33 | { | 32 | { |
diff --git a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs index 99a982b..15066cd 100644 --- a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs +++ b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs | |||
@@ -28,10 +28,8 @@ | |||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Reflection; | 30 | using System.Reflection; |
31 | using System.Threading; | ||
32 | |||
33 | using OpenMetaverse; | ||
34 | using log4net; | 31 | using log4net; |
32 | using OpenMetaverse; | ||
35 | 33 | ||
36 | namespace OpenSim.Framework.Communications.Cache | 34 | namespace OpenSim.Framework.Communications.Cache |
37 | { | 35 | { |
diff --git a/OpenSim/Framework/Communications/Cache/CryptoGridAssetClient.cs b/OpenSim/Framework/Communications/Cache/CryptoGridAssetClient.cs index 038c591..55db289 100644 --- a/OpenSim/Framework/Communications/Cache/CryptoGridAssetClient.cs +++ b/OpenSim/Framework/Communications/Cache/CryptoGridAssetClient.cs | |||
@@ -1,4 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) Contributors, http://www.openmetaverse.org/ | 2 | * Copyright (c) Contributors, http://www.openmetaverse.org/ |
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | 3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. |
4 | * | 4 | * |
@@ -34,11 +34,11 @@ using System; | |||
34 | using System.Collections.Generic; | 34 | using System.Collections.Generic; |
35 | using System.IO; | 35 | using System.IO; |
36 | using System.Reflection; | 36 | using System.Reflection; |
37 | using System.Security.Cryptography; | ||
37 | using System.Text; | 38 | using System.Text; |
38 | using System.Xml.Serialization; | 39 | using System.Xml.Serialization; |
39 | using log4net; | 40 | using log4net; |
40 | using OpenSim.Framework.Servers; | 41 | using OpenSim.Framework.Servers; |
41 | using System.Security.Cryptography; | ||
42 | 42 | ||
43 | namespace OpenSim.Framework.Communications.Cache | 43 | namespace OpenSim.Framework.Communications.Cache |
44 | { | 44 | { |
diff --git a/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs b/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs index 4c629f4..58c3269 100644 --- a/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs +++ b/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs | |||
@@ -28,6 +28,7 @@ | |||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using OpenMetaverse; | 30 | using OpenMetaverse; |
31 | |||
31 | //using System.Reflection; | 32 | //using System.Reflection; |
32 | 33 | ||
33 | //using log4net; | 34 | //using log4net; |
diff --git a/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs b/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs index 0b05adf..93f126f 100644 --- a/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs +++ b/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs | |||
@@ -30,9 +30,9 @@ using System.Collections.Generic; | |||
30 | using System.IO; | 30 | using System.IO; |
31 | using System.Reflection; | 31 | using System.Reflection; |
32 | using System.Xml; | 32 | using System.Xml; |
33 | using OpenMetaverse; | ||
34 | using log4net; | 33 | using log4net; |
35 | using Nini.Config; | 34 | using Nini.Config; |
35 | using OpenMetaverse; | ||
36 | 36 | ||
37 | namespace OpenSim.Framework.Communications.Cache | 37 | namespace OpenSim.Framework.Communications.Cache |
38 | { | 38 | { |
diff --git a/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs b/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs index 22aab10..ef190c8 100644 --- a/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs +++ b/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs | |||
@@ -25,12 +25,10 @@ | |||
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 | using System.Collections.Generic; | 28 | using System.Collections.Generic; |
30 | using System.Reflection; | 29 | using System.Reflection; |
31 | using System.Threading; | ||
32 | using OpenMetaverse; | ||
33 | using log4net; | 30 | using log4net; |
31 | using OpenMetaverse; | ||
34 | 32 | ||
35 | namespace OpenSim.Framework.Communications.Cache | 33 | namespace OpenSim.Framework.Communications.Cache |
36 | { | 34 | { |
diff --git a/OpenSim/Framework/Communications/Capabilities/Caps.cs b/OpenSim/Framework/Communications/Capabilities/Caps.cs index cfe9002..b68083e 100644 --- a/OpenSim/Framework/Communications/Capabilities/Caps.cs +++ b/OpenSim/Framework/Communications/Capabilities/Caps.cs | |||
@@ -30,11 +30,10 @@ using System.Collections; | |||
30 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
31 | using System.IO; | 31 | using System.IO; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using OpenMetaverse; | ||
34 | using log4net; | 33 | using log4net; |
35 | using OpenSim.Framework.Communications.Cache; | 34 | using OpenMetaverse; |
36 | using OpenSim.Framework.Servers; | 35 | using OpenSim.Framework.Servers; |
37 | using OpenSim.Framework; | 36 | |
38 | // using OpenSim.Region.Framework.Interfaces; | 37 | // using OpenSim.Region.Framework.Interfaces; |
39 | 38 | ||
40 | namespace OpenSim.Framework.Communications.Capabilities | 39 | namespace OpenSim.Framework.Communications.Capabilities |
diff --git a/OpenSim/Framework/Communications/Capabilities/CapsUtil.cs b/OpenSim/Framework/Communications/Capabilities/CapsUtil.cs index 829b4e5..874a27f 100644 --- a/OpenSim/Framework/Communications/Capabilities/CapsUtil.cs +++ b/OpenSim/Framework/Communications/Capabilities/CapsUtil.cs | |||
@@ -25,7 +25,6 @@ | |||
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 | using OpenMetaverse; | 28 | using OpenMetaverse; |
30 | 29 | ||
31 | namespace OpenSim.Framework.Communications.Capabilities | 30 | namespace OpenSim.Framework.Communications.Capabilities |
diff --git a/OpenSim/Framework/Communications/Capabilities/LLSDStreamHandler.cs b/OpenSim/Framework/Communications/Capabilities/LLSDStreamHandler.cs index c68a205..906f5d5 100644 --- a/OpenSim/Framework/Communications/Capabilities/LLSDStreamHandler.cs +++ b/OpenSim/Framework/Communications/Capabilities/LLSDStreamHandler.cs | |||
@@ -27,7 +27,6 @@ | |||
27 | 27 | ||
28 | using System.Collections; | 28 | using System.Collections; |
29 | using System.IO; | 29 | using System.IO; |
30 | using System.Net; | ||
31 | using System.Text; | 30 | using System.Text; |
32 | using OpenSim.Framework.Servers; | 31 | using OpenSim.Framework.Servers; |
33 | 32 | ||
diff --git a/OpenSim/Framework/Communications/CommunicationsManager.cs b/OpenSim/Framework/Communications/CommunicationsManager.cs index 2107f63..936e583 100644 --- a/OpenSim/Framework/Communications/CommunicationsManager.cs +++ b/OpenSim/Framework/Communications/CommunicationsManager.cs | |||
@@ -25,11 +25,8 @@ | |||
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 | using System.Collections.Generic; | 28 | using System.Collections.Generic; |
30 | using System.Reflection; | ||
31 | using OpenMetaverse; | 29 | using OpenMetaverse; |
32 | using log4net; | ||
33 | using OpenSim.Framework.Communications.Cache; | 30 | using OpenSim.Framework.Communications.Cache; |
34 | using OpenSim.Framework.Servers; | 31 | using OpenSim.Framework.Servers; |
35 | 32 | ||
diff --git a/OpenSim/Framework/Communications/GridInfoService.cs b/OpenSim/Framework/Communications/GridInfoService.cs index bd108c1..488ce8e 100644 --- a/OpenSim/Framework/Communications/GridInfoService.cs +++ b/OpenSim/Framework/Communications/GridInfoService.cs | |||
@@ -34,7 +34,6 @@ using log4net; | |||
34 | using Nini.Config; | 34 | using Nini.Config; |
35 | using Nwc.XmlRpc; | 35 | using Nwc.XmlRpc; |
36 | using OpenSim.Framework.Servers; | 36 | using OpenSim.Framework.Servers; |
37 | using OpenSim.Framework; | ||
38 | 37 | ||
39 | namespace OpenSim.Framework.Communications | 38 | namespace OpenSim.Framework.Communications |
40 | { | 39 | { |
diff --git a/OpenSim/Framework/Communications/IAvatarService.cs b/OpenSim/Framework/Communications/IAvatarService.cs index 25b26dd..3822e9f 100644 --- a/OpenSim/Framework/Communications/IAvatarService.cs +++ b/OpenSim/Framework/Communications/IAvatarService.cs | |||
@@ -25,9 +25,6 @@ | |||
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 | using System.Collections.Generic; | ||
30 | using System.Text; | ||
31 | using OpenMetaverse; | 28 | using OpenMetaverse; |
32 | 29 | ||
33 | namespace OpenSim.Framework.Communications | 30 | namespace OpenSim.Framework.Communications |
diff --git a/OpenSim/Framework/Communications/IHyperlink.cs b/OpenSim/Framework/Communications/IHyperlink.cs index fa088d6..6c61d82 100644 --- a/OpenSim/Framework/Communications/IHyperlink.cs +++ b/OpenSim/Framework/Communications/IHyperlink.cs | |||
@@ -25,11 +25,6 @@ | |||
25 | * OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * | 26 | * |
27 | */ | 27 | */ |
28 | using System; | ||
29 | using System.Collections.Generic; | ||
30 | using System.Text; | ||
31 | |||
32 | using OpenSim.Framework; | ||
33 | 28 | ||
34 | namespace OpenSim.Framework.Communications | 29 | namespace OpenSim.Framework.Communications |
35 | { | 30 | { |
diff --git a/OpenSim/Framework/Communications/ISecureInventoryService.cs b/OpenSim/Framework/Communications/ISecureInventoryService.cs index 6d4ce46..6da13fe 100644 --- a/OpenSim/Framework/Communications/ISecureInventoryService.cs +++ b/OpenSim/Framework/Communications/ISecureInventoryService.cs | |||
@@ -1,4 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) Contributors, http://opensimulator.org/ | 2 | * Copyright (c) Contributors, http://opensimulator.org/ |
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | 3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. |
4 | * | 4 | * |
@@ -25,9 +25,7 @@ | |||
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.Collections.Generic; | ||
29 | using OpenMetaverse; | 28 | using OpenMetaverse; |
30 | using OpenSim.Framework.Communications.Cache; | ||
31 | 29 | ||
32 | namespace OpenSim.Framework.Communications | 30 | namespace OpenSim.Framework.Communications |
33 | { | 31 | { |
diff --git a/OpenSim/Framework/Communications/InventoryServiceBase.cs b/OpenSim/Framework/Communications/InventoryServiceBase.cs index 8753c64..de76415 100644 --- a/OpenSim/Framework/Communications/InventoryServiceBase.cs +++ b/OpenSim/Framework/Communications/InventoryServiceBase.cs | |||
@@ -25,14 +25,10 @@ | |||
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 | using System.Collections.Generic; | 28 | using System.Collections.Generic; |
30 | using System.Reflection; | 29 | using System.Reflection; |
31 | using System.Threading; | ||
32 | |||
33 | using OpenMetaverse; | ||
34 | using log4net; | 30 | using log4net; |
35 | 31 | using OpenMetaverse; | |
36 | using OpenSim.Data; | 32 | using OpenSim.Data; |
37 | 33 | ||
38 | namespace OpenSim.Framework.Communications | 34 | namespace OpenSim.Framework.Communications |
diff --git a/OpenSim/Framework/Communications/LoginResponse.cs b/OpenSim/Framework/Communications/LoginResponse.cs index 867e9e6..d1b9258 100644 --- a/OpenSim/Framework/Communications/LoginResponse.cs +++ b/OpenSim/Framework/Communications/LoginResponse.cs | |||
@@ -29,10 +29,10 @@ using System; | |||
29 | using System.Collections; | 29 | using System.Collections; |
30 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
31 | using System.Reflection; | 31 | using System.Reflection; |
32 | using OpenMetaverse; | ||
33 | using OpenMetaverse.StructuredData; | ||
34 | using log4net; | 32 | using log4net; |
35 | using Nwc.XmlRpc; | 33 | using Nwc.XmlRpc; |
34 | using OpenMetaverse; | ||
35 | using OpenMetaverse.StructuredData; | ||
36 | 36 | ||
37 | namespace OpenSim.Framework.Communications | 37 | namespace OpenSim.Framework.Communications |
38 | { | 38 | { |
diff --git a/OpenSim/Framework/Communications/LoginService.cs b/OpenSim/Framework/Communications/LoginService.cs index fe904b5..ae16715 100644 --- a/OpenSim/Framework/Communications/LoginService.cs +++ b/OpenSim/Framework/Communications/LoginService.cs | |||
@@ -33,10 +33,10 @@ using System.Reflection; | |||
33 | using System.Text.RegularExpressions; | 33 | using System.Text.RegularExpressions; |
34 | using System.Threading; | 34 | using System.Threading; |
35 | using System.Web; | 35 | using System.Web; |
36 | using OpenMetaverse; | ||
37 | using OpenMetaverse.StructuredData; | ||
38 | using log4net; | 36 | using log4net; |
39 | using Nwc.XmlRpc; | 37 | using Nwc.XmlRpc; |
38 | using OpenMetaverse; | ||
39 | using OpenMetaverse.StructuredData; | ||
40 | using OpenSim.Framework.Communications.Cache; | 40 | using OpenSim.Framework.Communications.Cache; |
41 | using OpenSim.Framework.Statistics; | 41 | using OpenSim.Framework.Statistics; |
42 | 42 | ||
diff --git a/OpenSim/Framework/Communications/RestClient.cs b/OpenSim/Framework/Communications/RestClient.cs index 970f2a9..69932fc 100644 --- a/OpenSim/Framework/Communications/RestClient.cs +++ b/OpenSim/Framework/Communications/RestClient.cs | |||
@@ -291,7 +291,7 @@ namespace OpenSim.Framework.Communications | |||
291 | { | 291 | { |
292 | _response = (HttpWebResponse) _request.GetResponse(); | 292 | _response = (HttpWebResponse) _request.GetResponse(); |
293 | } | 293 | } |
294 | catch (System.Net.WebException e) | 294 | catch (WebException e) |
295 | { | 295 | { |
296 | m_log.ErrorFormat("[ASSET] Error fetching asset from asset server"); | 296 | m_log.ErrorFormat("[ASSET] Error fetching asset from asset server"); |
297 | m_log.Debug(e.ToString()); | 297 | m_log.Debug(e.ToString()); |
diff --git a/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs b/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs index 86d85b1..cda9d5c 100644 --- a/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs +++ b/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs | |||
@@ -25,16 +25,13 @@ | |||
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 | using log4net; | ||
30 | using NUnit.Framework; | 28 | using NUnit.Framework; |
31 | using NUnit.Framework.SyntaxHelpers; | 29 | using NUnit.Framework.SyntaxHelpers; |
32 | using OpenMetaverse; | 30 | using OpenMetaverse; |
33 | //using OpenSim.Framework; | 31 | using OpenSim.Data; |
34 | using OpenSim.Framework.Communications.Cache; | 32 | using OpenSim.Framework.Communications.Cache; |
35 | using OpenSim.Region.Communications.Local; | ||
36 | using OpenSim.Tests.Common.Mock; | 33 | using OpenSim.Tests.Common.Mock; |
37 | using OpenSim.Data; | 34 | //using OpenSim.Framework; |
38 | 35 | ||
39 | namespace OpenSim.Framework.Communications.Tests | 36 | namespace OpenSim.Framework.Communications.Tests |
40 | { | 37 | { |
diff --git a/OpenSim/Framework/Communications/Tests/Cache/UserProfileTestUtils.cs b/OpenSim/Framework/Communications/Tests/Cache/UserProfileTestUtils.cs index cf07ae5..85cc940 100644 --- a/OpenSim/Framework/Communications/Tests/Cache/UserProfileTestUtils.cs +++ b/OpenSim/Framework/Communications/Tests/Cache/UserProfileTestUtils.cs | |||
@@ -26,10 +26,8 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using OpenMetaverse; | 28 | using OpenMetaverse; |
29 | using OpenSim.Framework.Communications; | ||
30 | using OpenSim.Framework.Communications.Cache; | 29 | using OpenSim.Framework.Communications.Cache; |
31 | using OpenSim.Region.Communications.Local; | 30 | using OpenSim.Region.Communications.Local; |
32 | using OpenSim.Tests.Common.Mock; | ||
33 | 31 | ||
34 | namespace OpenSim.Framework.Communications.Tests | 32 | namespace OpenSim.Framework.Communications.Tests |
35 | { | 33 | { |
diff --git a/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs b/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs index ffa3c5f..57ed0f5 100644 --- a/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs +++ b/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs | |||
@@ -29,8 +29,6 @@ using System; | |||
29 | using System.Collections; | 29 | using System.Collections; |
30 | using System.Net; | 30 | using System.Net; |
31 | using System.Text.RegularExpressions; | 31 | using System.Text.RegularExpressions; |
32 | using System.Xml; | ||
33 | using Nini; | ||
34 | using NUnit.Framework; | 32 | using NUnit.Framework; |
35 | using NUnit.Framework.SyntaxHelpers; | 33 | using NUnit.Framework.SyntaxHelpers; |
36 | using Nwc.XmlRpc; | 34 | using Nwc.XmlRpc; |
@@ -61,7 +59,7 @@ namespace OpenSim.Framework.Communications.Tests | |||
61 | IPEndPoint capsEndPoint = new IPEndPoint(IPAddress.Loopback, 9123); | 59 | IPEndPoint capsEndPoint = new IPEndPoint(IPAddress.Loopback, 9123); |
62 | 60 | ||
63 | CommunicationsManager commsManager | 61 | CommunicationsManager commsManager |
64 | = new TestCommunicationsManager(new OpenSim.Framework.NetworkServersInfo(42, 43)); | 62 | = new TestCommunicationsManager(new NetworkServersInfo(42, 43)); |
65 | 63 | ||
66 | commsManager.GridService.RegisterRegion( | 64 | commsManager.GridService.RegisterRegion( |
67 | new RegionInfo(42, 43, capsEndPoint, regionExternalName)); | 65 | new RegionInfo(42, 43, capsEndPoint, regionExternalName)); |
@@ -89,7 +87,7 @@ namespace OpenSim.Framework.Communications.Tests | |||
89 | Assert.That(responseData["first_name"], Is.EqualTo(firstName)); | 87 | Assert.That(responseData["first_name"], Is.EqualTo(firstName)); |
90 | Assert.That(responseData["last_name"], Is.EqualTo(lastName)); | 88 | Assert.That(responseData["last_name"], Is.EqualTo(lastName)); |
91 | Assert.That( | 89 | Assert.That( |
92 | responseData["circuit_code"], Is.GreaterThanOrEqualTo(0) & Is.LessThanOrEqualTo(System.Int32.MaxValue)); | 90 | responseData["circuit_code"], Is.GreaterThanOrEqualTo(0) & Is.LessThanOrEqualTo(Int32.MaxValue)); |
93 | 91 | ||
94 | Regex capsSeedPattern | 92 | Regex capsSeedPattern |
95 | = new Regex("^http://" | 93 | = new Regex("^http://" |
@@ -108,7 +106,7 @@ namespace OpenSim.Framework.Communications.Tests | |||
108 | IPEndPoint capsEndPoint = new IPEndPoint(IPAddress.Loopback, 9123); | 106 | IPEndPoint capsEndPoint = new IPEndPoint(IPAddress.Loopback, 9123); |
109 | 107 | ||
110 | CommunicationsManager commsManager | 108 | CommunicationsManager commsManager |
111 | = new TestCommunicationsManager(new OpenSim.Framework.NetworkServersInfo(42, 43)); | 109 | = new TestCommunicationsManager(new NetworkServersInfo(42, 43)); |
112 | 110 | ||
113 | commsManager.GridService.RegisterRegion( | 111 | commsManager.GridService.RegisterRegion( |
114 | new RegionInfo(42, 43, capsEndPoint, regionExternalName)); | 112 | new RegionInfo(42, 43, capsEndPoint, regionExternalName)); |
@@ -159,7 +157,7 @@ namespace OpenSim.Framework.Communications.Tests | |||
159 | Hashtable invlibroothash = (Hashtable) invlibroot[0]; | 157 | Hashtable invlibroothash = (Hashtable) invlibroot[0]; |
160 | Assert.That(invlibroothash["folder_id"],Is.EqualTo("00000112-000f-0000-0000-000100bba000")); | 158 | Assert.That(invlibroothash["folder_id"],Is.EqualTo("00000112-000f-0000-0000-000100bba000")); |
161 | Assert.That( | 159 | Assert.That( |
162 | responseData["circuit_code"], Is.GreaterThanOrEqualTo(0) & Is.LessThanOrEqualTo(System.Int32.MaxValue)); | 160 | responseData["circuit_code"], Is.GreaterThanOrEqualTo(0) & Is.LessThanOrEqualTo(Int32.MaxValue)); |
163 | Assert.That(responseData["message"], Is.EqualTo("Hello folks")); | 161 | Assert.That(responseData["message"], Is.EqualTo("Hello folks")); |
164 | Assert.That(responseData["buddy-list"], Is.Empty); | 162 | Assert.That(responseData["buddy-list"], Is.Empty); |
165 | Assert.That(responseData["start_location"], Is.EqualTo("last")); | 163 | Assert.That(responseData["start_location"], Is.EqualTo("last")); |
diff --git a/OpenSim/Framework/Communications/UserManagerBase.cs b/OpenSim/Framework/Communications/UserManagerBase.cs index 0af9652..62c3f89 100644 --- a/OpenSim/Framework/Communications/UserManagerBase.cs +++ b/OpenSim/Framework/Communications/UserManagerBase.cs | |||
@@ -26,17 +26,16 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Collections; | ||
30 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
31 | using System.Net; | 30 | using System.Net; |
32 | using System.Reflection; | 31 | using System.Reflection; |
33 | using System.Security.Cryptography; | 32 | using System.Security.Cryptography; |
34 | using OpenMetaverse; | ||
35 | using OpenMetaverse.StructuredData; | ||
36 | using log4net; | 33 | using log4net; |
37 | using Nwc.XmlRpc; | 34 | using Nwc.XmlRpc; |
38 | using OpenSim.Framework.Statistics; | 35 | using OpenMetaverse; |
36 | using OpenMetaverse.StructuredData; | ||
39 | using OpenSim.Data; | 37 | using OpenSim.Data; |
38 | using OpenSim.Framework.Statistics; | ||
40 | 39 | ||
41 | namespace OpenSim.Framework.Communications | 40 | namespace OpenSim.Framework.Communications |
42 | { | 41 | { |
diff --git a/OpenSim/Framework/Communications/XMPP/XmppError.cs b/OpenSim/Framework/Communications/XMPP/XmppError.cs index 1698b6a..8b7e502 100644 --- a/OpenSim/Framework/Communications/XMPP/XmppError.cs +++ b/OpenSim/Framework/Communications/XMPP/XmppError.cs | |||
@@ -25,8 +25,6 @@ | |||
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 | using System.Xml; | ||
30 | using System.Xml.Serialization; | 28 | using System.Xml.Serialization; |
31 | 29 | ||
32 | namespace OpenSim.Framework.Communications.XMPP | 30 | namespace OpenSim.Framework.Communications.XMPP |
diff --git a/OpenSim/Framework/Communications/XMPP/XmppIqStanza.cs b/OpenSim/Framework/Communications/XMPP/XmppIqStanza.cs index 1789536..26a98ec 100644 --- a/OpenSim/Framework/Communications/XMPP/XmppIqStanza.cs +++ b/OpenSim/Framework/Communications/XMPP/XmppIqStanza.cs | |||
@@ -25,8 +25,6 @@ | |||
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 | using System.Xml; | ||
30 | using System.Xml.Serialization; | 28 | using System.Xml.Serialization; |
31 | 29 | ||
32 | namespace OpenSim.Framework.Communications.XMPP | 30 | namespace OpenSim.Framework.Communications.XMPP |
diff --git a/OpenSim/Framework/Communications/XMPP/XmppMessageStanza.cs b/OpenSim/Framework/Communications/XMPP/XmppMessageStanza.cs index fd4cd5f..d150708 100644 --- a/OpenSim/Framework/Communications/XMPP/XmppMessageStanza.cs +++ b/OpenSim/Framework/Communications/XMPP/XmppMessageStanza.cs | |||
@@ -25,8 +25,6 @@ | |||
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 | using System.Xml; | ||
30 | using System.Xml.Serialization; | 28 | using System.Xml.Serialization; |
31 | 29 | ||
32 | namespace OpenSim.Framework.Communications.XMPP | 30 | namespace OpenSim.Framework.Communications.XMPP |
diff --git a/OpenSim/Framework/Communications/XMPP/XmppPresenceStanza.cs b/OpenSim/Framework/Communications/XMPP/XmppPresenceStanza.cs index d63a0d1..95d2ca3 100644 --- a/OpenSim/Framework/Communications/XMPP/XmppPresenceStanza.cs +++ b/OpenSim/Framework/Communications/XMPP/XmppPresenceStanza.cs | |||
@@ -25,8 +25,6 @@ | |||
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 | using System.Xml; | ||
30 | using System.Xml.Serialization; | 28 | using System.Xml.Serialization; |
31 | 29 | ||
32 | namespace OpenSim.Framework.Communications.XMPP | 30 | namespace OpenSim.Framework.Communications.XMPP |
diff --git a/OpenSim/Framework/Communications/XMPP/XmppSerializer.cs b/OpenSim/Framework/Communications/XMPP/XmppSerializer.cs index eb9dabe..888686b 100644 --- a/OpenSim/Framework/Communications/XMPP/XmppSerializer.cs +++ b/OpenSim/Framework/Communications/XMPP/XmppSerializer.cs | |||
@@ -27,12 +27,8 @@ | |||
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.IO; | ||
31 | using System.Reflection; | ||
32 | using System.Text; | ||
33 | using System.Xml; | 30 | using System.Xml; |
34 | using System.Xml.Serialization; | 31 | using System.Xml.Serialization; |
35 | using log4net; | ||
36 | 32 | ||
37 | namespace OpenSim.Framework.Communications.XMPP | 33 | namespace OpenSim.Framework.Communications.XMPP |
38 | { | 34 | { |
diff --git a/OpenSim/Framework/Communications/XMPP/XmppStanza.cs b/OpenSim/Framework/Communications/XMPP/XmppStanza.cs index 00df14a..db3c5eb 100644 --- a/OpenSim/Framework/Communications/XMPP/XmppStanza.cs +++ b/OpenSim/Framework/Communications/XMPP/XmppStanza.cs | |||
@@ -26,7 +26,6 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Xml; | ||
30 | using System.Xml.Serialization; | 29 | using System.Xml.Serialization; |
31 | 30 | ||
32 | namespace OpenSim.Framework.Communications.XMPP | 31 | namespace OpenSim.Framework.Communications.XMPP |
diff --git a/OpenSim/Framework/Communications/XMPP/XmppWriter.cs b/OpenSim/Framework/Communications/XMPP/XmppWriter.cs index c5ad9b4..4937f7a 100644 --- a/OpenSim/Framework/Communications/XMPP/XmppWriter.cs +++ b/OpenSim/Framework/Communications/XMPP/XmppWriter.cs | |||
@@ -28,7 +28,6 @@ | |||
28 | using System.IO; | 28 | using System.IO; |
29 | using System.Text; | 29 | using System.Text; |
30 | using System.Xml; | 30 | using System.Xml; |
31 | |||
32 | using IOStream = System.IO.Stream; | 31 | using IOStream = System.IO.Stream; |
33 | 32 | ||
34 | namespace OpenSim.Framework.Communications.XMPP | 33 | namespace OpenSim.Framework.Communications.XMPP |