JAL-1517 source formatting
[jalview.git] / src / jalview / io / IdentifyFile.java
index 2629896..08d4dca 100755 (executable)
@@ -134,11 +134,11 @@ public class IdentifyFile
 
           break;
         }
-        
+
         if ((data.indexOf("<") > -1))
         {
           reply = "RNAML";
-          
+
           break;
         }
 
@@ -169,8 +169,7 @@ public class IdentifyFile
 
           break;
         }
-        
-        
+
         else if (data.indexOf(">") > -1)
         {
           // FASTA, PIR file or BLC file
@@ -199,13 +198,16 @@ public class IdentifyFile
               starterm = (data1 != null && data1.indexOf("*") > -1)
                       || (data2 != null && data2.indexOf("*") > -1);
             }
-            if (data2 != null && (c1=data.indexOf("*")) > -1)
+            if (data2 != null && (c1 = data.indexOf("*")) > -1)
             {
-              if (c1==0 && c1 == data2.indexOf("*"))
+              if (c1 == 0 && c1 == data2.indexOf("*"))
               {
                 reply = "BLC";
-              } else {
-                reply = "FASTA"; // possibly a bad choice - may be recognised as PIR 
+              }
+              else
+              {
+                reply = "FASTA"; // possibly a bad choice - may be recognised as
+                                 // PIR
               }
               // otherwise can still possibly be a PIR file
             }