apply jalview code style
[jalview.git] / src / jalview / analysis / AlignSeq.java
index fcb117c..28c6283 100755 (executable)
@@ -501,22 +501,23 @@ public class AlignSeq
     // TODO: Use original sequence characters rather than re-translated
     // characters in output
     // Find the biggest id length for formatting purposes
-    String s1id=s1.getName(),s2id=s2.getName();
+    String s1id = s1.getName(), s2id = s2.getName();
     int maxid = s1.getName().length();
     if (s2.getName().length() > maxid)
     {
       maxid = s2.getName().length();
     }
-    if (maxid>30) {
+    if (maxid > 30)
+    {
       maxid = 30;
       // JAL-527 - truncate the sequence ids
-      if (s1.getName().length()>maxid)
+      if (s1.getName().length() > maxid)
       {
-        s1id = s1.getName().substring(0,30);
+        s1id = s1.getName().substring(0, 30);
       }
-      if (s2.getName().length()>maxid)
+      if (s2.getName().length() > maxid)
       {
-        s2id = s2.getName().substring(0,30);
+        s2id = s2.getName().substring(0, 30);
       }
     }
     int len = 72 - maxid - 1;
@@ -537,8 +538,7 @@ public class AlignSeq
     for (int j = 0; j < nochunks; j++)
     {
       // Print the first aligned sequence
-      output.append(new Format("%" + (maxid) + "s").form(s1id)
-              + " ");
+      output.append(new Format("%" + (maxid) + "s").form(s1id) + " ");
 
       for (int i = 0; i < len; i++)
       {