From 7971c1c4e31c9f08755331d146c759f395e7a416 Mon Sep 17 00:00:00 2001 From: kiramt Date: Thu, 5 Oct 2017 15:41:14 +0100 Subject: [PATCH] JAL-2674 Removed a stray Vector --- src/jalview/datamodel/HiddenColumns.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/jalview/datamodel/HiddenColumns.java b/src/jalview/datamodel/HiddenColumns.java index 41bd16b..c8f2bf6 100644 --- a/src/jalview/datamodel/HiddenColumns.java +++ b/src/jalview/datamodel/HiddenColumns.java @@ -25,7 +25,6 @@ import java.util.BitSet; import java.util.Iterator; import java.util.List; import java.util.NoSuchElementException; -import java.util.Vector; import java.util.concurrent.locks.ReentrantReadWriteLock; public class HiddenColumns @@ -825,7 +824,7 @@ public class HiddenColumns AlignmentAnnotation alignmentAnnotation) { // mangle the alignmentAnnotation annotation array - Vector annels = new Vector<>(); + ArrayList annels = new ArrayList<>(); Annotation[] els = null; int w = 0; @@ -860,7 +859,7 @@ public class HiddenColumns } els = new Annotation[annotationLength]; - annels.addElement(els); + annels.add(els); System.arraycopy(alignmentAnnotation.annotations, block[0], els, 0, copylength); w += annotationLength; -- 1.7.10.2