addElement
authoramwaterhouse <Andrew Waterhouse>
Tue, 8 May 2007 08:18:08 +0000 (08:18 +0000)
committeramwaterhouse <Andrew Waterhouse>
Tue, 8 May 2007 08:18:08 +0000 (08:18 +0000)
src/jalview/io/AlignFile.java

index c9a383f..da09590 100755 (executable)
@@ -234,17 +234,17 @@ public abstract class AlignFile
     return seq.getDisplayId(jvSuffix);
   }
   /**
-   * vector of String[] treeName, newickString pairs 
+   * vector of String[] treeName, newickString pairs
    */
   Vector newickStrings=null;
-  
+
   protected void addNewickTree(String treeName, String newickString)
   {
     if (newickStrings == null)
     {
       newickStrings = new Vector();
     }
-    newickStrings.add(new String[] { treeName, newickString});
+    newickStrings.addElement(new String[] { treeName, newickString});
   }
 
   protected int getTreeCount()