From fa4ba68d035abe5ff04f59b7383469e157c4977f Mon Sep 17 00:00:00 2001 From: kiramt Date: Thu, 1 Feb 2018 08:59:07 +0000 Subject: [PATCH] JAL-2759 use right iterator for getVisibleColsIterator --- src/jalview/datamodel/HiddenColumns.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/datamodel/HiddenColumns.java b/src/jalview/datamodel/HiddenColumns.java index 4b647db..509bd73 100644 --- a/src/jalview/datamodel/HiddenColumns.java +++ b/src/jalview/datamodel/HiddenColumns.java @@ -1085,7 +1085,7 @@ public class HiddenColumns { LOCK.readLock().lock(); return new RangeElementsIterator(start, end, - new RangeIterator(hiddenColumns)); + new VisibleContigsIterator(start, end + 1, hiddenColumns)); } finally { LOCK.readLock().unlock(); -- 1.7.10.2