diff options
author | lbsa71 | 2007-10-30 09:05:31 +0000 |
---|---|---|
committer | lbsa71 | 2007-10-30 09:05:31 +0000 |
commit | 67e12b95ea7b68f4904a7484d77ecfd787d16d0c (patch) | |
tree | 20b00d24c8a7617017960432ec044852e3ad5fa9 /OpenSim/Region/Storage/OpenSim.DataStore.NullStorage | |
parent | * Deleted .user file (diff) | |
download | opensim-SC_OLD-67e12b95ea7b68f4904a7484d77ecfd787d16d0c.zip opensim-SC_OLD-67e12b95ea7b68f4904a7484d77ecfd787d16d0c.tar.gz opensim-SC_OLD-67e12b95ea7b68f4904a7484d77ecfd787d16d0c.tar.bz2 opensim-SC_OLD-67e12b95ea7b68f4904a7484d77ecfd787d16d0c.tar.xz |
* Optimized usings
* Shortened type references
* Removed redundant 'this' qualifier
Diffstat (limited to 'OpenSim/Region/Storage/OpenSim.DataStore.NullStorage')
-rw-r--r-- | OpenSim/Region/Storage/OpenSim.DataStore.NullStorage/NullDataStore.cs | 19 | ||||
-rw-r--r-- | OpenSim/Region/Storage/OpenSim.DataStore.NullStorage/Properties/AssemblyInfo.cs | 31 |
2 files changed, 21 insertions, 29 deletions
diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.NullStorage/NullDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.NullStorage/NullDataStore.cs index f726ea2..4e1f71e 100644 --- a/OpenSim/Region/Storage/OpenSim.DataStore.NullStorage/NullDataStore.cs +++ b/OpenSim/Region/Storage/OpenSim.DataStore.NullStorage/NullDataStore.cs | |||
@@ -26,21 +26,16 @@ | |||
26 | * | 26 | * |
27 | */ | 27 | */ |
28 | 28 | ||
29 | using System; | ||
30 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
31 | using System.Text; | ||
32 | |||
33 | using OpenSim.Region.Environment.Scenes; | ||
34 | using OpenSim.Region.Environment.LandManagement; | ||
35 | using OpenSim.Region.Environment.Interfaces; | ||
36 | using OpenSim.Framework.Console; | ||
37 | using libsecondlife; | 30 | using libsecondlife; |
31 | using OpenSim.Region.Environment.Interfaces; | ||
32 | using OpenSim.Region.Environment.LandManagement; | ||
33 | using OpenSim.Region.Environment.Scenes; | ||
38 | 34 | ||
39 | namespace OpenSim.DataStore.NullStorage | 35 | namespace OpenSim.DataStore.NullStorage |
40 | { | 36 | { |
41 | public class NullDataStore : IRegionDataStore | 37 | public class NullDataStore : IRegionDataStore |
42 | { | 38 | { |
43 | |||
44 | public void Initialise(string dbfile, string dbname) | 39 | public void Initialise(string dbfile, string dbname) |
45 | { | 40 | { |
46 | return; | 41 | return; |
@@ -48,12 +43,10 @@ namespace OpenSim.DataStore.NullStorage | |||
48 | 43 | ||
49 | public void StoreObject(SceneObjectGroup obj, LLUUID regionUUID) | 44 | public void StoreObject(SceneObjectGroup obj, LLUUID regionUUID) |
50 | { | 45 | { |
51 | |||
52 | } | 46 | } |
53 | 47 | ||
54 | public void RemoveObject(LLUUID obj, LLUUID regionUUID) | 48 | public void RemoveObject(LLUUID obj, LLUUID regionUUID) |
55 | { | 49 | { |
56 | |||
57 | } | 50 | } |
58 | 51 | ||
59 | public List<SceneObjectGroup> LoadObjects(LLUUID regionUUID) | 52 | public List<SceneObjectGroup> LoadObjects(LLUUID regionUUID) |
@@ -63,7 +56,6 @@ namespace OpenSim.DataStore.NullStorage | |||
63 | 56 | ||
64 | public void StoreTerrain(double[,] ter, LLUUID regionID) | 57 | public void StoreTerrain(double[,] ter, LLUUID regionID) |
65 | { | 58 | { |
66 | |||
67 | } | 59 | } |
68 | 60 | ||
69 | public double[,] LoadTerrain(LLUUID regionID) | 61 | public double[,] LoadTerrain(LLUUID regionID) |
@@ -73,12 +65,10 @@ namespace OpenSim.DataStore.NullStorage | |||
73 | 65 | ||
74 | public void RemoveLandObject(uint id) | 66 | public void RemoveLandObject(uint id) |
75 | { | 67 | { |
76 | |||
77 | } | 68 | } |
78 | 69 | ||
79 | public void StoreParcel(Land land) | 70 | public void StoreParcel(Land land) |
80 | { | 71 | { |
81 | |||
82 | } | 72 | } |
83 | 73 | ||
84 | public List<Land> LoadLandObjects() | 74 | public List<Land> LoadLandObjects() |
@@ -88,7 +78,6 @@ namespace OpenSim.DataStore.NullStorage | |||
88 | 78 | ||
89 | public void Shutdown() | 79 | public void Shutdown() |
90 | { | 80 | { |
91 | |||
92 | } | 81 | } |
93 | } | 82 | } |
94 | } | 83 | } \ No newline at end of file |
diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.NullStorage/Properties/AssemblyInfo.cs b/OpenSim/Region/Storage/OpenSim.DataStore.NullStorage/Properties/AssemblyInfo.cs index fd86315..7608202 100644 --- a/OpenSim/Region/Storage/OpenSim.DataStore.NullStorage/Properties/AssemblyInfo.cs +++ b/OpenSim/Region/Storage/OpenSim.DataStore.NullStorage/Properties/AssemblyInfo.cs | |||
@@ -1,26 +1,28 @@ | |||
1 | using System.Reflection; | 1 | using System.Reflection; |
2 | using System.Runtime.CompilerServices; | ||
3 | using System.Runtime.InteropServices; | 2 | using System.Runtime.InteropServices; |
4 | 3 | ||
5 | // General Information about an assembly is controlled through the following | 4 | // General Information about an assembly is controlled through the following |
6 | // set of attributes. Change these attribute values to modify the information | 5 | // set of attributes. Change these attribute values to modify the information |
7 | // associated with an assembly. | 6 | // associated with an assembly. |
8 | [assembly: AssemblyTitle("OpenSim.DataStore.NullStorage")] | 7 | |
9 | [assembly: AssemblyDescription("")] | 8 | [assembly : AssemblyTitle("OpenSim.DataStore.NullStorage")] |
10 | [assembly: AssemblyConfiguration("")] | 9 | [assembly : AssemblyDescription("")] |
11 | [assembly: AssemblyCompany("")] | 10 | [assembly : AssemblyConfiguration("")] |
12 | [assembly: AssemblyProduct("OpenSim.DataStore.NullStorage")] | 11 | [assembly : AssemblyCompany("")] |
13 | [assembly: AssemblyCopyright("Copyright © 2007")] | 12 | [assembly : AssemblyProduct("OpenSim.DataStore.NullStorage")] |
14 | [assembly: AssemblyTrademark("")] | 13 | [assembly : AssemblyCopyright("Copyright © 2007")] |
15 | [assembly: AssemblyCulture("")] | 14 | [assembly : AssemblyTrademark("")] |
15 | [assembly : AssemblyCulture("")] | ||
16 | 16 | ||
17 | // Setting ComVisible to false makes the types in this assembly not visible | 17 | // Setting ComVisible to false makes the types in this assembly not visible |
18 | // to COM components. If you need to access a type in this assembly from | 18 | // to COM components. If you need to access a type in this assembly from |
19 | // COM, set the ComVisible attribute to true on that type. | 19 | // COM, set the ComVisible attribute to true on that type. |
20 | [assembly: ComVisible(false)] | 20 | |
21 | [assembly : ComVisible(false)] | ||
21 | 22 | ||
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM | 23 | // The following GUID is for the ID of the typelib if this project is exposed to COM |
23 | [assembly: Guid("b4a1656d-de22-4080-a970-fd8166acbf16")] | 24 | |
25 | [assembly : Guid("b4a1656d-de22-4080-a970-fd8166acbf16")] | ||
24 | 26 | ||
25 | // Version information for an assembly consists of the following four values: | 27 | // Version information for an assembly consists of the following four values: |
26 | // | 28 | // |
@@ -31,5 +33,6 @@ using System.Runtime.InteropServices; | |||
31 | // | 33 | // |
32 | // You can specify all the values or you can default the Revision and Build Numbers | 34 | // You can specify all the values or you can default the Revision and Build Numbers |
33 | // by using the '*' as shown below: | 35 | // by using the '*' as shown below: |
34 | [assembly: AssemblyVersion("1.0.0.0")] | 36 | |
35 | [assembly: AssemblyFileVersion("1.0.0.0")] | 37 | [assembly : AssemblyVersion("1.0.0.0")] |
38 | [assembly : AssemblyFileVersion("1.0.0.0")] \ No newline at end of file | ||