From: kiramt Date: Mon, 29 Jan 2018 14:46:00 +0000 (+0000) Subject: JAL-2759 remove unneeded cast X-Git-Tag: Release_2_10_4~55^2~1^2~16 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=f3c60bf04af34f917c2f43a501534419c4aef0d7;p=jalview.git JAL-2759 remove unneeded cast --- 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()) {