From 55d54ccaf45b2889a86ed31b19977eda8c263420 Mon Sep 17 00:00:00 2001 From: jprocter Date: Wed, 19 Oct 2011 18:25:37 +0100 Subject: [PATCH] use List rather than Vector --- src/jalview/analysis/Conservation.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jalview/analysis/Conservation.java b/src/jalview/analysis/Conservation.java index 8e3b6e4..5c26ac4 100755 --- a/src/jalview/analysis/Conservation.java +++ b/src/jalview/analysis/Conservation.java @@ -85,7 +85,7 @@ public class Conservation * end residue position */ public Conservation(String name, Hashtable propHash, int threshold, - Vector sequences, int start, int end) + List sequences, int start, int end) { this.name = name; this.propHash = propHash; @@ -102,7 +102,7 @@ public class Conservation try { for (s = 0; s < sSize; s++) { - sarray[s] = (SequenceI) sequences.elementAt(s); + sarray[s] = (SequenceI) sequences.get(s); if (sarray[s].getLength() > maxLength) { maxLength = sarray[s].getLength(); -- 1.7.10.2