[f-spot] Some minor format updates



commit fa4f36359d40433db8f85af87dca299b5b815fa6
Author: Stephen Shaw <sshaw decriptor com>
Date:   Sat Nov 19 22:05:04 2011 -0700

    Some minor format updates

 src/Clients/MainApp/FSpot.Database/Db.cs |   18 ++++++++----------
 1 files changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/src/Clients/MainApp/FSpot.Database/Db.cs b/src/Clients/MainApp/FSpot.Database/Db.cs
index 4de5eb5..d617fea 100644
--- a/src/Clients/MainApp/FSpot.Database/Db.cs
+++ b/src/Clients/MainApp/FSpot.Database/Db.cs
@@ -80,10 +80,9 @@ namespace FSpot.Database
 			bool new_db = !File.Exists (path);
 			this.path = path;
             
-			if (new_db && !create_if_missing) {
+			if (new_db && !create_if_missing)
 				throw new Exception (path + ": File not found");
-			}
-            
+
 			Database = new FSpotDatabaseConnection (path);
             
 			// Load or create the meta table
@@ -116,15 +115,14 @@ namespace FSpot.Database
 
 		protected virtual void Dispose (bool is_disposing)
 		{
-			if (already_disposed) {
+			if (already_disposed)
 				return;
-			}
-			if (is_disposing) {
-				//Free managed resources
+
+	    		//Free managed resources
+			if (is_disposing)
 				Database.Dispose ();
-			}
-			//Free unmanaged resources
-            
+
+	    		//Free unmanaged resources
 			already_disposed = true;
 		}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]