From: amwaterhouse Date: Tue, 8 May 2007 08:18:08 +0000 (+0000) Subject: addElement X-Git-Tag: Release_2_3~40 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=04437971157c6610b64d8facea3c8028aca7927e;p=jalview.git addElement --- diff --git a/src/jalview/io/AlignFile.java b/src/jalview/io/AlignFile.java index c9a383f..da09590 100755 --- a/src/jalview/io/AlignFile.java +++ b/src/jalview/io/AlignFile.java @@ -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()