aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/StorageManager.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-05-01 16:35:00 +0000
committerAdam Frisby2008-05-01 16:35:00 +0000
commit13526097f24b7a8ad63b1d482c44b44397fa055f (patch)
tree7a82c20ed7c63e2aea5ad3863325e37f64e1cbea /OpenSim/Region/Environment/StorageManager.cs
parent* Breaking all the code, breaking all the code..! (diff)
downloadopensim-SC_OLD-13526097f24b7a8ad63b1d482c44b44397fa055f.zip
opensim-SC_OLD-13526097f24b7a8ad63b1d482c44b44397fa055f.tar.gz
opensim-SC_OLD-13526097f24b7a8ad63b1d482c44b44397fa055f.tar.bz2
opensim-SC_OLD-13526097f24b7a8ad63b1d482c44b44397fa055f.tar.xz
* Spring cleaning on Region.Environment.
* Converted a large number of read-only fields to be actually, readonly. * Reformatted code sections. * Removed redundant code.
Diffstat (limited to 'OpenSim/Region/Environment/StorageManager.cs')
-rw-r--r--OpenSim/Region/Environment/StorageManager.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/Environment/StorageManager.cs b/OpenSim/Region/Environment/StorageManager.cs
index b9a42a2..2178b5e 100644
--- a/OpenSim/Region/Environment/StorageManager.cs
+++ b/OpenSim/Region/Environment/StorageManager.cs
@@ -36,12 +36,7 @@ namespace OpenSim.Region.Environment
36 { 36 {
37 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 37 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
38 38
39 private IRegionDataStore m_dataStore; 39 private readonly IRegionDataStore m_dataStore;
40
41 public IRegionDataStore DataStore
42 {
43 get { return m_dataStore; }
44 }
45 40
46 public StorageManager(IRegionDataStore storage) 41 public StorageManager(IRegionDataStore storage)
47 { 42 {
@@ -74,5 +69,10 @@ namespace OpenSim.Region.Environment
74 69
75 //TODO: Add checking and warning to make sure it initialised. 70 //TODO: Add checking and warning to make sure it initialised.
76 } 71 }
72
73 public IRegionDataStore DataStore
74 {
75 get { return m_dataStore; }
76 }
77 } 77 }
78} 78} \ No newline at end of file