diff api/Factories/AbstractWarFoundryFactory.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 1d13820b3d96
children f00a57369aaa
line wrap: on
line diff
--- a/api/Factories/AbstractWarFoundryFactory.cs	Mon Nov 02 20:58:01 2009 +0000
+++ b/api/Factories/AbstractWarFoundryFactory.cs	Thu Nov 05 20:22:00 2009 +0000
@@ -19,59 +19,59 @@
 			
 		public bool CanHandleFileFormat (FileInfo file)
 		{
-			FILE_TYPE typedFile = GetFileAsSupportedType(file);
-			bool canHandle = typedFile != null && CheckCanHandleFileFormat(typedFile);
-
-			if (typedFile != null)
-			{
-				CleanUpFileAsSupportedType(typedFile);
-			}
-
+			FILE_TYPE typedFile = GetFileAsSupportedType(file);
+			bool canHandle = typedFile != null && CheckCanHandleFileFormat(typedFile);
+
+			if (typedFile != null)
+			{
+				CleanUpFileAsSupportedType(typedFile);
+			}
+
 			return canHandle;
 		}
 
 		public bool CanHandleFileAsRace(FileInfo file)
 		{
-			FILE_TYPE typedFile = GetFileAsSupportedType(file);
-			bool canHandle = typedFile != null && CheckCanHandleFileAsRace(typedFile);
-
-			if (typedFile != null)
-			{
-				CleanUpFileAsSupportedType(typedFile);
-			}
-
+			FILE_TYPE typedFile = GetFileAsSupportedType(file);
+			bool canHandle = typedFile != null && CheckCanHandleFileAsRace(typedFile);
+
+			if (typedFile != null)
+			{
+				CleanUpFileAsSupportedType(typedFile);
+			}
+
 			return canHandle;
 		}
 
 		public bool CanHandleFileAsGameSystem(FileInfo file)
 		{
-			FILE_TYPE typedFile = GetFileAsSupportedType(file);
-			bool canHandle = typedFile != null && CheckCanHandleFileAsGameSystem(typedFile);
-
-			if (typedFile != null)
-			{
-				CleanUpFileAsSupportedType(typedFile);
-			}
-
+			FILE_TYPE typedFile = GetFileAsSupportedType(file);
+			bool canHandle = typedFile != null && CheckCanHandleFileAsGameSystem(typedFile);
+
+			if (typedFile != null)
+			{
+				CleanUpFileAsSupportedType(typedFile);
+			}
+
 			return canHandle;
 		}
 
 		public bool CanHandleFileAsArmy(FileInfo file)
 		{
 			FILE_TYPE typedFile = GetFileAsSupportedType(file);
-			bool canHandle = typedFile != null && CheckCanHandleFileAsArmy(typedFile);
-
-			if (typedFile != null)
-			{
-				CleanUpFileAsSupportedType(typedFile);
-			}
-
+			bool canHandle = typedFile != null && CheckCanHandleFileAsArmy(typedFile);
+
+			if (typedFile != null)
+			{
+				CleanUpFileAsSupportedType(typedFile);
+			}
+
 			return canHandle;
-		}
-
-		protected virtual void CleanUpFileAsSupportedType(FILE_TYPE typedFile)
-		{
-			//Do nothing by default
+		}
+
+		protected virtual void CleanUpFileAsSupportedType(FILE_TYPE typedFile)
+		{
+			//Do nothing by default
 		}
 		
 		/// <summary>