Merge branch 'develop' into bug/JAL-4235_gradle_task_jalviewjsTranspile_does_not_fail...
[jalview.git] / src / jalview / io / PhylipFile.java
index 539826f..7542884 100644 (file)
@@ -188,7 +188,7 @@ public class PhylipFile extends AlignFile
 
     } catch (IOException e)
     {
-      System.err.println("Exception parsing PHYLIP file " + e);
+      jalview.bin.Console.errPrintln("Exception parsing PHYLIP file " + e);
       e.printStackTrace(System.err);
       throw e;
     }
@@ -247,9 +247,7 @@ public class PhylipFile extends AlignFile
     StringBuffer sb = new StringBuffer(Integer.toString(sqs.length));
     sb.append(" ");
     // if there are no sequences, then define the number of characters as 0
-    sb.append(
-(sqs.length > 0) ? Integer.toString(sqs[0].getLength())
-                    : "0")
+    sb.append((sqs.length > 0) ? Integer.toString(sqs[0].getLength()) : "0")
             .append(newline);
 
     // Due to how IO is handled, there doesn't appear to be a way to store