From 025441d722b6fa175cccb674aa4a08a34093323e Mon Sep 17 00:00:00 2001 From: Homer Horwitz Date: Fri, 19 Sep 2008 21:32:41 +0000 Subject: Small formatting cleanup, before chi11ken notices. Me bad. --- OpenSim/Data/SQLite/SQLiteInventoryStore.cs | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'OpenSim/Data/SQLite/SQLiteInventoryStore.cs') diff --git a/OpenSim/Data/SQLite/SQLiteInventoryStore.cs b/OpenSim/Data/SQLite/SQLiteInventoryStore.cs index 49d351a..40b61ee 100644 --- a/OpenSim/Data/SQLite/SQLiteInventoryStore.cs +++ b/OpenSim/Data/SQLite/SQLiteInventoryStore.cs @@ -107,19 +107,23 @@ namespace OpenSim.Data.SQLite /// public void Dispose() { - if(conn != null) { + if (conn != null) + { conn.Close(); conn = null; } - if(invItemsDa != null) { + if (invItemsDa != null) + { invItemsDa.Dispose(); invItemsDa = null; } - if(invFoldersDa != null) { + if (invFoldersDa != null) + { invFoldersDa.Dispose(); invFoldersDa = null; } - if(ds != null) { + if (ds != null) + { ds.Dispose(); ds = null; } @@ -500,7 +504,8 @@ namespace OpenSim.Data.SQLite // Current folder already has a sibling - append to sibling list hashtable[curFolder.ParentID].Add(curFolder); } - else { + else + { List siblingList = new List(); siblingList.Add(curFolder); // Current folder has no known (yet) siblings -- cgit v1.1