aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate/NHibernateAssetData.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-02-20 14:36:53 +0000
committerJustin Clarke Casey2009-02-20 14:36:53 +0000
commitacf112ac40602fa1852f49a99fdafef5dfef0b78 (patch)
treedf6503eb5ca6f466de23034c506a906409be9b7f /OpenSim/Data/NHibernate/NHibernateAssetData.cs
parent* Consistently lock part.TaskInventory as pointed out in http://opensimulator... (diff)
downloadopensim-SC_OLD-acf112ac40602fa1852f49a99fdafef5dfef0b78.zip
opensim-SC_OLD-acf112ac40602fa1852f49a99fdafef5dfef0b78.tar.gz
opensim-SC_OLD-acf112ac40602fa1852f49a99fdafef5dfef0b78.tar.bz2
opensim-SC_OLD-acf112ac40602fa1852f49a99fdafef5dfef0b78.tar.xz
* Apply http://opensimulator.org/mantis/view.php?id=3195
* Access NHibernate Manager as read-only property rather than public field * Thanks Tommil
Diffstat (limited to 'OpenSim/Data/NHibernate/NHibernateAssetData.cs')
-rw-r--r--OpenSim/Data/NHibernate/NHibernateAssetData.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Data/NHibernate/NHibernateAssetData.cs b/OpenSim/Data/NHibernate/NHibernateAssetData.cs
index 95595db..387d3d4 100644
--- a/OpenSim/Data/NHibernate/NHibernateAssetData.cs
+++ b/OpenSim/Data/NHibernate/NHibernateAssetData.cs
@@ -39,7 +39,14 @@ namespace OpenSim.Data.NHibernate
39 { 39 {
40 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 40 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
41 41
42 public NHibernateManager manager; 42 private NHibernateManager manager;
43 public NHibernateManager Manager
44 {
45 get
46 {
47 return manager;
48 }
49 }
43 50
44 override public void Dispose() { } 51 override public void Dispose() { }
45 52