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/Data/SQLite | |
parent | Thanks Kitto Flora for a patch that adds automatic min fly height to ODE - Ma... (diff) | |
download | opensim-SC_OLD-801da4346aeb3c08969c4845f5c595135a64470a.zip opensim-SC_OLD-801da4346aeb3c08969c4845f5c595135a64470a.tar.gz opensim-SC_OLD-801da4346aeb3c08969c4845f5c595135a64470a.tar.bz2 opensim-SC_OLD-801da4346aeb3c08969c4845f5c595135a64470a.tar.xz |
* optimized usings.
Diffstat (limited to 'OpenSim/Data/SQLite')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteAssetData.cs | 2 | ||||
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteEstateData.cs | 9 | ||||
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteGridData.cs | 4 | ||||
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteInventoryStore.cs | 2 | ||||
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteManager.cs | 2 | ||||
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteRegionData.cs | 5 | ||||
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteUserData.cs | 4 | ||||
-rw-r--r-- | OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs | 9 | ||||
-rw-r--r-- | OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs | 7 | ||||
-rw-r--r-- | OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs | 10 | ||||
-rw-r--r-- | OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs | 9 | ||||
-rw-r--r-- | OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs | 9 |
12 files changed, 15 insertions, 57 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteAssetData.cs b/OpenSim/Data/SQLite/SQLiteAssetData.cs index d28956f..f6f62a7 100644 --- a/OpenSim/Data/SQLite/SQLiteAssetData.cs +++ b/OpenSim/Data/SQLite/SQLiteAssetData.cs | |||
@@ -28,9 +28,9 @@ | |||
28 | using System; | 28 | using System; |
29 | using System.Data; | 29 | using System.Data; |
30 | using System.Reflection; | 30 | using System.Reflection; |
31 | using OpenMetaverse; | ||
32 | using log4net; | 31 | using log4net; |
33 | using Mono.Data.SqliteClient; | 32 | using Mono.Data.SqliteClient; |
33 | using OpenMetaverse; | ||
34 | using OpenSim.Framework; | 34 | using OpenSim.Framework; |
35 | 35 | ||
36 | namespace OpenSim.Data.SQLite | 36 | namespace OpenSim.Data.SQLite |
diff --git a/OpenSim/Data/SQLite/SQLiteEstateData.cs b/OpenSim/Data/SQLite/SQLiteEstateData.cs index 46d29a3..3fb33c2 100644 --- a/OpenSim/Data/SQLite/SQLiteEstateData.cs +++ b/OpenSim/Data/SQLite/SQLiteEstateData.cs | |||
@@ -28,15 +28,12 @@ | |||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Data; | 30 | using System.Data; |
31 | using System.IO; | ||
32 | using System.Reflection; | 31 | using System.Reflection; |
33 | using System.Threading; | ||
34 | using OpenMetaverse; | ||
35 | using Mono.Data.SqliteClient; | ||
36 | using log4net; | 32 | using log4net; |
33 | using Mono.Data.SqliteClient; | ||
34 | using OpenMetaverse; | ||
37 | using OpenSim.Framework; | 35 | using OpenSim.Framework; |
38 | using OpenSim.Region.Framework.Interfaces; | 36 | using OpenSim.Region.Framework.Interfaces; |
39 | using OpenSim.Region.Framework.Scenes; | ||
40 | 37 | ||
41 | namespace OpenSim.Data.SQLite | 38 | namespace OpenSim.Data.SQLite |
42 | { | 39 | { |
@@ -109,7 +106,7 @@ namespace OpenSim.Data.SQLite | |||
109 | else | 106 | else |
110 | m_FieldMap[name].SetValue(es, false); | 107 | m_FieldMap[name].SetValue(es, false); |
111 | } | 108 | } |
112 | else if (m_FieldMap[name].GetValue(es) is OpenMetaverse.UUID) | 109 | else if (m_FieldMap[name].GetValue(es) is UUID) |
113 | { | 110 | { |
114 | UUID uuid = UUID.Zero; | 111 | UUID uuid = UUID.Zero; |
115 | 112 | ||
diff --git a/OpenSim/Data/SQLite/SQLiteGridData.cs b/OpenSim/Data/SQLite/SQLiteGridData.cs index 5b0455d..6c7c58c 100644 --- a/OpenSim/Data/SQLite/SQLiteGridData.cs +++ b/OpenSim/Data/SQLite/SQLiteGridData.cs | |||
@@ -29,10 +29,8 @@ using System; | |||
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Data; | 30 | using System.Data; |
31 | using System.Reflection; | 31 | using System.Reflection; |
32 | using System.Security.Cryptography; | ||
33 | using System.Text; | ||
34 | using OpenMetaverse; | ||
35 | using log4net; | 32 | using log4net; |
33 | using OpenMetaverse; | ||
36 | using OpenSim.Framework; | 34 | using OpenSim.Framework; |
37 | 35 | ||
38 | namespace OpenSim.Data.SQLite | 36 | namespace OpenSim.Data.SQLite |
diff --git a/OpenSim/Data/SQLite/SQLiteInventoryStore.cs b/OpenSim/Data/SQLite/SQLiteInventoryStore.cs index c497396..6391c6d 100644 --- a/OpenSim/Data/SQLite/SQLiteInventoryStore.cs +++ b/OpenSim/Data/SQLite/SQLiteInventoryStore.cs | |||
@@ -29,9 +29,9 @@ using System; | |||
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Data; | 30 | using System.Data; |
31 | using System.Reflection; | 31 | using System.Reflection; |
32 | using OpenMetaverse; | ||
33 | using log4net; | 32 | using log4net; |
34 | using Mono.Data.SqliteClient; | 33 | using Mono.Data.SqliteClient; |
34 | using OpenMetaverse; | ||
35 | using OpenSim.Framework; | 35 | using OpenSim.Framework; |
36 | 36 | ||
37 | namespace OpenSim.Data.SQLite | 37 | namespace OpenSim.Data.SQLite |
diff --git a/OpenSim/Data/SQLite/SQLiteManager.cs b/OpenSim/Data/SQLite/SQLiteManager.cs index a936ec1..4d45d08 100644 --- a/OpenSim/Data/SQLite/SQLiteManager.cs +++ b/OpenSim/Data/SQLite/SQLiteManager.cs | |||
@@ -30,8 +30,8 @@ using System.Collections.Generic; | |||
30 | using System.Data; | 30 | using System.Data; |
31 | using System.Data.SQLite; | 31 | using System.Data.SQLite; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using OpenMetaverse; | ||
34 | using log4net; | 33 | using log4net; |
34 | using OpenMetaverse; | ||
35 | 35 | ||
36 | namespace OpenSim.Data.SQLite | 36 | namespace OpenSim.Data.SQLite |
37 | { | 37 | { |
diff --git a/OpenSim/Data/SQLite/SQLiteRegionData.cs b/OpenSim/Data/SQLite/SQLiteRegionData.cs index 89308db..7ec4ceb 100644 --- a/OpenSim/Data/SQLite/SQLiteRegionData.cs +++ b/OpenSim/Data/SQLite/SQLiteRegionData.cs | |||
@@ -28,13 +28,12 @@ | |||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Data; | 30 | using System.Data; |
31 | using System.Drawing; | ||
31 | using System.IO; | 32 | using System.IO; |
32 | using System.Reflection; | 33 | using System.Reflection; |
33 | using System.Threading; | ||
34 | using System.Drawing; | ||
35 | using OpenMetaverse; | ||
36 | using log4net; | 34 | using log4net; |
37 | using Mono.Data.SqliteClient; | 35 | using Mono.Data.SqliteClient; |
36 | using OpenMetaverse; | ||
38 | using OpenSim.Framework; | 37 | using OpenSim.Framework; |
39 | using OpenSim.Region.Framework.Interfaces; | 38 | using OpenSim.Region.Framework.Interfaces; |
40 | using OpenSim.Region.Framework.Scenes; | 39 | using OpenSim.Region.Framework.Scenes; |
diff --git a/OpenSim/Data/SQLite/SQLiteUserData.cs b/OpenSim/Data/SQLite/SQLiteUserData.cs index 1c36453..788a9ea 100644 --- a/OpenSim/Data/SQLite/SQLiteUserData.cs +++ b/OpenSim/Data/SQLite/SQLiteUserData.cs | |||
@@ -29,9 +29,9 @@ using System; | |||
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Data; | 30 | using System.Data; |
31 | using System.Reflection; | 31 | using System.Reflection; |
32 | using OpenMetaverse; | ||
33 | using log4net; | 32 | using log4net; |
34 | using Mono.Data.SqliteClient; | 33 | using Mono.Data.SqliteClient; |
34 | using OpenMetaverse; | ||
35 | using OpenSim.Framework; | 35 | using OpenSim.Framework; |
36 | 36 | ||
37 | namespace OpenSim.Data.SQLite | 37 | namespace OpenSim.Data.SQLite |
@@ -645,7 +645,7 @@ namespace OpenSim.Data.SQLite | |||
645 | try { | 645 | try { |
646 | aa = aplist[user]; | 646 | aa = aplist[user]; |
647 | m_log.Info("[APPEARANCE] Found appearance for " + user.ToString() + aa.ToString()); | 647 | m_log.Info("[APPEARANCE] Found appearance for " + user.ToString() + aa.ToString()); |
648 | } catch (System.Collections.Generic.KeyNotFoundException) { | 648 | } catch (KeyNotFoundException) { |
649 | m_log.InfoFormat("[APPEARANCE] No appearance found for {0}", user.ToString()); | 649 | m_log.InfoFormat("[APPEARANCE] No appearance found for {0}", user.ToString()); |
650 | } | 650 | } |
651 | return aa; | 651 | return aa; |
diff --git a/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs index 0de965d..60aa1f3 100644 --- a/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs +++ b/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs | |||
@@ -25,16 +25,9 @@ | |||
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.IO; | 28 | using System.IO; |
30 | using System.Collections.Generic; | ||
31 | using NUnit.Framework; | 29 | using NUnit.Framework; |
32 | using NUnit.Framework.SyntaxHelpers; | ||
33 | using OpenSim.Framework; | ||
34 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
35 | using OpenSim.Data.SQLite; | ||
36 | using OpenSim.Region.Framework.Scenes; | ||
37 | using OpenMetaverse; | ||
38 | 31 | ||
39 | namespace OpenSim.Data.SQLite.Tests | 32 | namespace OpenSim.Data.SQLite.Tests |
40 | { | 33 | { |
@@ -58,7 +51,7 @@ namespace OpenSim.Data.SQLite.Tests | |||
58 | public void Cleanup() | 51 | public void Cleanup() |
59 | { | 52 | { |
60 | db.Dispose(); | 53 | db.Dispose(); |
61 | System.IO.File.Delete(file); | 54 | File.Delete(file); |
62 | } | 55 | } |
63 | } | 56 | } |
64 | } \ No newline at end of file | 57 | } \ No newline at end of file |
diff --git a/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs index 31efcc3..774cca1 100644 --- a/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs +++ b/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs | |||
@@ -25,16 +25,9 @@ | |||
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.IO; | 28 | using System.IO; |
30 | using System.Collections.Generic; | ||
31 | using NUnit.Framework; | 29 | using NUnit.Framework; |
32 | using NUnit.Framework.SyntaxHelpers; | ||
33 | using OpenSim.Framework; | ||
34 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
35 | using OpenSim.Data.SQLite; | ||
36 | using OpenSim.Region.Framework.Scenes; | ||
37 | using OpenMetaverse; | ||
38 | 31 | ||
39 | namespace OpenSim.Data.SQLite.Tests | 32 | namespace OpenSim.Data.SQLite.Tests |
40 | { | 33 | { |
diff --git a/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs index 07b0dab..70903c3 100644 --- a/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs +++ b/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs | |||
@@ -25,17 +25,9 @@ | |||
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.IO; | 28 | using System.IO; |
30 | using System.Collections.Generic; | ||
31 | using NUnit.Framework; | 29 | using NUnit.Framework; |
32 | using NUnit.Framework.SyntaxHelpers; | ||
33 | using OpenSim.Framework; | ||
34 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
35 | using OpenSim.Data.SQLite; | ||
36 | using OpenSim.Region.Framework.Scenes; | ||
37 | using OpenMetaverse; | ||
38 | using log4net; | ||
39 | 31 | ||
40 | namespace OpenSim.Data.SQLite.Tests | 32 | namespace OpenSim.Data.SQLite.Tests |
41 | { | 33 | { |
@@ -61,7 +53,7 @@ namespace OpenSim.Data.SQLite.Tests | |||
61 | public void Cleanup() | 53 | public void Cleanup() |
62 | { | 54 | { |
63 | db.Dispose(); | 55 | db.Dispose(); |
64 | System.IO.File.Delete(file); | 56 | File.Delete(file); |
65 | } | 57 | } |
66 | } | 58 | } |
67 | } | 59 | } |
diff --git a/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs index 86a1192..652a53a 100644 --- a/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs +++ b/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs | |||
@@ -25,16 +25,9 @@ | |||
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.IO; | 28 | using System.IO; |
30 | using System.Collections.Generic; | ||
31 | using NUnit.Framework; | 29 | using NUnit.Framework; |
32 | using NUnit.Framework.SyntaxHelpers; | ||
33 | using OpenSim.Framework; | ||
34 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
35 | using OpenSim.Data.SQLite; | ||
36 | using OpenSim.Region.Framework.Scenes; | ||
37 | using OpenMetaverse; | ||
38 | 31 | ||
39 | namespace OpenSim.Data.SQLite.Tests | 32 | namespace OpenSim.Data.SQLite.Tests |
40 | { | 33 | { |
@@ -58,7 +51,7 @@ namespace OpenSim.Data.SQLite.Tests | |||
58 | public void Cleanup() | 51 | public void Cleanup() |
59 | { | 52 | { |
60 | db.Dispose(); | 53 | db.Dispose(); |
61 | System.IO.File.Delete(file); | 54 | File.Delete(file); |
62 | } | 55 | } |
63 | } | 56 | } |
64 | } \ No newline at end of file | 57 | } \ No newline at end of file |
diff --git a/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs index 0415219..6f8d89d 100644 --- a/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs +++ b/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs | |||
@@ -25,16 +25,9 @@ | |||
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.IO; | 28 | using System.IO; |
30 | using System.Collections.Generic; | ||
31 | using NUnit.Framework; | 29 | using NUnit.Framework; |
32 | using NUnit.Framework.SyntaxHelpers; | ||
33 | using OpenSim.Framework; | ||
34 | using OpenSim.Data.Tests; | 30 | using OpenSim.Data.Tests; |
35 | using OpenSim.Data.SQLite; | ||
36 | using OpenSim.Region.Framework.Scenes; | ||
37 | using OpenMetaverse; | ||
38 | 31 | ||
39 | namespace OpenSim.Data.SQLite.Tests | 32 | namespace OpenSim.Data.SQLite.Tests |
40 | { | 33 | { |
@@ -58,7 +51,7 @@ namespace OpenSim.Data.SQLite.Tests | |||
58 | public void Cleanup() | 51 | public void Cleanup() |
59 | { | 52 | { |
60 | db.Dispose(); | 53 | db.Dispose(); |
61 | System.IO.File.Delete(file); | 54 | File.Delete(file); |
62 | } | 55 | } |
63 | } | 56 | } |
64 | } \ No newline at end of file | 57 | } \ No newline at end of file |