From bb0350a272414857637d39cd7c4d4f039744b0ab Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 12 Feb 2015 16:47:18 +0000 Subject: [PATCH] JAL-1115 typecast --- src/jalview/datamodel/ColumnSelection.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 1.7.10.2