diff options
author | Jeff Ames | 2008-05-16 13:33:57 +0000 |
---|---|---|
committer | Jeff Ames | 2008-05-16 13:33:57 +0000 |
commit | 7fefb80abbde4bd8a9b19cb631736b5860274134 (patch) | |
tree | b10ad0bb4a7e19bcdca675126320858b3427894f /OpenSim/Data/NHibernate/NHibernateAssetData.cs | |
parent | Set svn:ignore. Minor formatting cleanup. (diff) | |
download | opensim-SC_OLD-7fefb80abbde4bd8a9b19cb631736b5860274134.zip opensim-SC_OLD-7fefb80abbde4bd8a9b19cb631736b5860274134.tar.gz opensim-SC_OLD-7fefb80abbde4bd8a9b19cb631736b5860274134.tar.bz2 opensim-SC_OLD-7fefb80abbde4bd8a9b19cb631736b5860274134.tar.xz |
Minor cleanup.
Diffstat (limited to 'OpenSim/Data/NHibernate/NHibernateAssetData.cs')
-rw-r--r-- | OpenSim/Data/NHibernate/NHibernateAssetData.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/NHibernate/NHibernateAssetData.cs b/OpenSim/Data/NHibernate/NHibernateAssetData.cs index 075f2e9..7163a92 100644 --- a/OpenSim/Data/NHibernate/NHibernateAssetData.cs +++ b/OpenSim/Data/NHibernate/NHibernateAssetData.cs | |||
@@ -78,8 +78,8 @@ namespace OpenSim.Data.NHibernate | |||
78 | cfg.AddAssembly("OpenSim.Data.NHibernate"); | 78 | cfg.AddAssembly("OpenSim.Data.NHibernate"); |
79 | 79 | ||
80 | HbmSerializer.Default.Validate = true; | 80 | HbmSerializer.Default.Validate = true; |
81 | using ( MemoryStream stream = | 81 | using (MemoryStream stream = |
82 | HbmSerializer.Default.Serialize(Assembly.GetExecutingAssembly())) | 82 | HbmSerializer.Default.Serialize(Assembly.GetExecutingAssembly())) |
83 | cfg.AddInputStream(stream); | 83 | cfg.AddInputStream(stream); |
84 | 84 | ||
85 | factory = cfg.BuildSessionFactory(); | 85 | factory = cfg.BuildSessionFactory(); |