diff api/Factories/AbstractNativeWarFoundryFactory.cs @ 200:3e287b6b5244

* Line ending fixes no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Thu, 05 Nov 2009 20:22:00 +0000
parents 70ba3bee0c2e
children fe5a03d73918
line wrap: on
line diff
--- a/api/Factories/AbstractNativeWarFoundryFactory.cs	Mon Nov 02 20:58:01 2009 +0000
+++ b/api/Factories/AbstractNativeWarFoundryFactory.cs	Thu Nov 05 20:22:00 2009 +0000
@@ -82,26 +82,26 @@
 		{
 			ICollection<IWarFoundryObject> objects = null;
 			string comment = file.ZipFileComment;
-			IWarFoundryObject obj = null;
-
-			try
-			{
-				if (comment.StartsWith(SYSTEM_ZIP_IDENTIFIER))
-				{
-					obj = CreateGameSystemFromFile(file);
-				}
-				else if (comment.StartsWith(RACE_ZIP_IDENTIFIER))
-				{
-					obj = CreateRaceFromFile(file);
-				}
-				else if (comment.StartsWith(ARMY_ZIP_IDENTIFIER))
-				{
-					obj = CreateArmyFromFile(file);
-				}
-			}
-			finally
-			{
-				file.Close();
+			IWarFoundryObject obj = null;
+
+			try
+			{
+				if (comment.StartsWith(SYSTEM_ZIP_IDENTIFIER))
+				{
+					obj = CreateGameSystemFromFile(file);
+				}
+				else if (comment.StartsWith(RACE_ZIP_IDENTIFIER))
+				{
+					obj = CreateRaceFromFile(file);
+				}
+				else if (comment.StartsWith(ARMY_ZIP_IDENTIFIER))
+				{
+					obj = CreateArmyFromFile(file);
+				}
+			}
+			finally
+			{
+				file.Close();
 			}
 			
 			if (obj!=null)