git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a81fc62
)
JAL-1115 typecast
author
Jim Procter
<jprocter@dundee.ac.uk>
Thu, 12 Feb 2015 16:47:18 +0000
(16:47 +0000)
committer
Jim Procter
<jprocter@dundee.ac.uk>
Thu, 12 Feb 2015 16:47:18 +0000
(16:47 +0000)
src/jalview/datamodel/ColumnSelection.java
patch
|
blob
|
history
diff --git
a/src/jalview/datamodel/ColumnSelection.java
b/src/jalview/datamodel/ColumnSelection.java
index
6acca32
..
1d8b127
100644
(file)
--- 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<Integer> 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);
}