From: Jim Procter Date: Thu, 12 Feb 2015 16:47:18 +0000 (+0000) Subject: JAL-1115 typecast X-Git-Tag: Jalview_2_9~94 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=bb0350a272414857637d39cd7c4d4f039744b0ab;p=jalview.git JAL-1115 typecast --- diff --git a/src/jalview/datamodel/ColumnSelection.java b/src/jalview/datamodel/ColumnSelection.java index 6acca32..1d8b127 100644 --- a/src/jalview/datamodel/ColumnSelection.java +++ b/src/jalview/datamodel/ColumnSelection.java @@ -104,7 +104,7 @@ public class ColumnSelection * * @return Vector containing selected columns as Integers */ - public Vector getSelected() + public Vector getSelected() { return selected; } @@ -634,7 +634,7 @@ public class ColumnSelection { while (size() > 0) { - int column = ((Integer) getSelected().firstElement()).intValue(); + int column = getSelected().firstElement().intValue(); hideColumns(column); }