From f3c60bf04af34f917c2f43a501534419c4aef0d7 Mon Sep 17 00:00:00 2001 From: kiramt Date: Mon, 29 Jan 2018 14:46:00 +0000 Subject: [PATCH] JAL-2759 remove unneeded cast --- src/jalview/gui/SeqCanvas.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jalview/gui/SeqCanvas.java b/src/jalview/gui/SeqCanvas.java index dcc548d..081a83c 100755 --- a/src/jalview/gui/SeqCanvas.java +++ b/src/jalview/gui/SeqCanvas.java @@ -1030,7 +1030,7 @@ public class SeqCanvas extends JComponent implements ViewportListenerI int blockEnd; HiddenColumns hidden = av.getAlignment().getHiddenColumns(); - VisibleContigsIterator regions = (VisibleContigsIterator) hidden + VisibleContigsIterator regions = hidden .getVisContigsIterator(startRes, endRes + 1, true); while (regions.hasNext()) @@ -1364,7 +1364,7 @@ public class SeqCanvas extends JComponent implements ViewportListenerI int blockEnd; HiddenColumns hidden = av.getAlignment().getHiddenColumns(); - VisibleContigsIterator regions = (VisibleContigsIterator) hidden + VisibleContigsIterator regions = hidden .getVisContigsIterator(startRes, endRes + 1, true); while (regions.hasNext()) { -- 1.7.10.2