documentation and targets for building a working applet examples
[jalview.git] / src / jalview / io / ClustalFile.java
index 4973908..7e22f3d 100755 (executable)
@@ -149,7 +149,7 @@ public class ClustalFile extends AlignFile
 
   public String print(SequenceI[] s)
   {
-    StringBuffer out = new StringBuffer("CLUSTAL\n\n");
+    StringBuffer out = new StringBuffer("CLUSTAL"+newline+newline);
 
     int max = 0;
     int maxid = 0;
@@ -189,9 +189,7 @@ public class ClustalFile extends AlignFile
 
       while ((j < s.length) && (s[j] != null))
       {
-        out
-                .append(new Format("%-" + maxid + "s").form(printId(s[j])
-                        + " "));
+        out.append(new Format("%-" + maxid + "s").form(printId(s[j]) + " "));
 
         int start = i * len;
         int end = start + len;
@@ -209,11 +207,11 @@ public class ClustalFile extends AlignFile
           }
         }
 
-        out.append("\n");
+        out.append(newline);
         j++;
       }
 
-      out.append("\n");
+      out.append(newline);
     }
 
     return out.toString();