JAL-1645 source formatting and organise imports
[jalview.git] / src / jalview / io / PhylipFile.java
index ce65eea..bf60fce 100644 (file)
@@ -3,7 +3,6 @@
  */
 package jalview.io;
 
-import jalview.datamodel.Alignment;
 import jalview.datamodel.Sequence;
 import jalview.datamodel.SequenceI;
 
@@ -171,13 +170,6 @@ public class PhylipFile extends AlignFile
         seqs.add(sequenceElements[i]);
       }
 
-      // create an alignment based on the sequences
-      Alignment a = new Alignment(sequenceElements);
-      // add annotations - although comments say addAnnotations
-      // is used by AppletFormatAdapter, it doesn't say other
-      // classes should/can not use it
-      addAnnotations(a);
-
     } catch (IOException e)
     {
       System.err.println("Exception parsing PHYLIP file " + e);
@@ -209,8 +201,8 @@ public class PhylipFile extends AlignFile
    */
   private String validateName(String name) throws IOException
   {
-    char[] invalidCharacters = new char[]
-    { '(', ')', '[', ']', ':', ';', ',' };
+    char[] invalidCharacters = new char[] { '(', ')', '[', ']', ':', ';',
+        ',' };
     for (char c : invalidCharacters)
     {
       if (name.indexOf(c) > -1)