mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
* Spring cleaning on Region.Environment.
* Converted a large number of read-only fields to be actually, readonly. * Reformatted code sections. * Removed redundant code.
This commit is contained in:
@@ -36,12 +36,7 @@ namespace OpenSim.Region.Environment
|
||||
{
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
private IRegionDataStore m_dataStore;
|
||||
|
||||
public IRegionDataStore DataStore
|
||||
{
|
||||
get { return m_dataStore; }
|
||||
}
|
||||
private readonly IRegionDataStore m_dataStore;
|
||||
|
||||
public StorageManager(IRegionDataStore storage)
|
||||
{
|
||||
@@ -74,5 +69,10 @@ namespace OpenSim.Region.Environment
|
||||
|
||||
//TODO: Add checking and warning to make sure it initialised.
|
||||
}
|
||||
|
||||
public IRegionDataStore DataStore
|
||||
{
|
||||
get { return m_dataStore; }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user