JAL-1517 source formatting
[jalview.git] / src / jalview / io / FastaFile.java
index 9aff348..6e5de81 100755 (executable)
@@ -22,7 +22,6 @@ package jalview.io;
 
 import java.io.*;
 
-
 import jalview.datamodel.*;
 
 /**
@@ -79,7 +78,7 @@ public class FastaFile extends AlignFile
     StringBuffer sb = new StringBuffer();
     boolean firstLine = true;
 
-    String line,uline;
+    String line, uline;
     Sequence seq = null;
 
     boolean annotation = false;
@@ -141,23 +140,24 @@ public class FastaFile extends AlignFile
       seqs.addElement(seq);
     }
   }
+
   private AlignmentAnnotation makeAnnotation(SequenceI seq, StringBuffer sb)
   {
     Annotation[] anots = new Annotation[sb.length()];
     char cb;
-    for (int i=0;i<anots.length;i++)
+    for (int i = 0; i < anots.length; i++)
     {
       char cn = sb.charAt(i);
       if (cn != ' ')
       {
-        anots[i] = new Annotation(""+cn, null,
-              ' ', Float.NaN);
+        anots[i] = new Annotation("" + cn, null, ' ', Float.NaN);
       }
     }
     AlignmentAnnotation aa = new AlignmentAnnotation(seq.getName()
             .substring(2), seq.getDescription(), anots);
     return aa;
   }
+
   /**
    * called by AppletFormatAdapter to generate an annotated alignment, rather
    * than bare sequences.