diff options
author | Jeff Ames | 2008-08-18 00:39:10 +0000 |
---|---|---|
committer | Jeff Ames | 2008-08-18 00:39:10 +0000 |
commit | 6ef9d4da901a346c232458317cca6268da888e2e (patch) | |
tree | dd1d935b10f34f261839da9f9879c02322e8ede7 /OpenSim/Data/NHibernate/NHibernateAssetData.cs | |
parent | Update svn properties, minor formatting cleanup. (diff) | |
download | opensim-SC_OLD-6ef9d4da901a346c232458317cca6268da888e2e.zip opensim-SC_OLD-6ef9d4da901a346c232458317cca6268da888e2e.tar.gz opensim-SC_OLD-6ef9d4da901a346c232458317cca6268da888e2e.tar.bz2 opensim-SC_OLD-6ef9d4da901a346c232458317cca6268da888e2e.tar.xz |
Formatting cleanup.
Diffstat (limited to 'OpenSim/Data/NHibernate/NHibernateAssetData.cs')
-rw-r--r-- | OpenSim/Data/NHibernate/NHibernateAssetData.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Data/NHibernate/NHibernateAssetData.cs b/OpenSim/Data/NHibernate/NHibernateAssetData.cs index 2e9e897..400451f 100644 --- a/OpenSim/Data/NHibernate/NHibernateAssetData.cs +++ b/OpenSim/Data/NHibernate/NHibernateAssetData.cs | |||
@@ -93,7 +93,7 @@ namespace OpenSim.Data.NHibernate | |||
93 | 93 | ||
94 | factory = cfg.BuildSessionFactory(); | 94 | factory = cfg.BuildSessionFactory(); |
95 | session = factory.OpenSession(); | 95 | session = factory.OpenSession(); |
96 | 96 | ||
97 | // This actually does the roll forward assembly stuff | 97 | // This actually does the roll forward assembly stuff |
98 | Assembly assem = GetType().Assembly; | 98 | Assembly assem = GetType().Assembly; |
99 | Migration m = new Migration((System.Data.Common.DbConnection)factory.ConnectionProvider.GetConnection(), assem, dialect, "AssetStore"); | 99 | Migration m = new Migration((System.Data.Common.DbConnection)factory.ConnectionProvider.GetConnection(), assem, dialect, "AssetStore"); |
@@ -111,7 +111,7 @@ namespace OpenSim.Data.NHibernate | |||
111 | { | 111 | { |
112 | m_log.ErrorFormat("[NHIBERNATE] no such asset {0}", uuid); | 112 | m_log.ErrorFormat("[NHIBERNATE] no such asset {0}", uuid); |
113 | return null; | 113 | return null; |
114 | } | 114 | } |
115 | catch (Exception e) | 115 | catch (Exception e) |
116 | { | 116 | { |
117 | m_log.Error("[NHIBERNATE] unexpected exception: ", e); | 117 | m_log.Error("[NHIBERNATE] unexpected exception: ", e); |
@@ -121,7 +121,7 @@ namespace OpenSim.Data.NHibernate | |||
121 | 121 | ||
122 | private void Save(AssetBase asset) | 122 | private void Save(AssetBase asset) |
123 | { | 123 | { |
124 | try | 124 | try |
125 | { | 125 | { |
126 | // a is not used anywhere? | 126 | // a is not used anywhere? |
127 | // AssetBase a = session.Load(typeof(AssetBase), asset.FullID) as AssetBase; | 127 | // AssetBase a = session.Load(typeof(AssetBase), asset.FullID) as AssetBase; |