aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate/NHibernateGridData.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/NHibernateGridData.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/NHibernateGridData.cs')
-rw-r--r--OpenSim/Data/NHibernate/NHibernateGridData.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Data/NHibernate/NHibernateGridData.cs b/OpenSim/Data/NHibernate/NHibernateGridData.cs
index b89cefc..1e1d47e 100644
--- a/OpenSim/Data/NHibernate/NHibernateGridData.cs
+++ b/OpenSim/Data/NHibernate/NHibernateGridData.cs
@@ -45,7 +45,15 @@ namespace OpenSim.Data.NHibernate
45 public class NHibernateGridData : GridDataBase 45 public class NHibernateGridData : GridDataBase
46 { 46 {
47 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 47 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
48 public NHibernateManager manager; 48
49 private NHibernateManager manager;
50 public NHibernateManager Manager
51 {
52 get
53 {
54 return manager;
55 }
56 }
49 57
50 public override void Initialise() 58 public override void Initialise()
51 { 59 {