From 04437971157c6610b64d8facea3c8028aca7927e Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Tue, 8 May 2007 08:18:08 +0000 Subject: [PATCH] addElement --- src/jalview/io/AlignFile.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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() -- 1.7.10.2