git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3878 update branch from 2.12 merge from 2.11.2
[jalview.git]
/
src
/
jalview
/
datamodel
/
ColumnSelection.java
diff --git
a/src/jalview/datamodel/ColumnSelection.java
b/src/jalview/datamodel/ColumnSelection.java
index
3ccaab8
..
6f14e21
100644
(file)
--- a/
src/jalview/datamodel/ColumnSelection.java
+++ b/
src/jalview/datamodel/ColumnSelection.java
@@
-106,7
+106,7
@@
public class ColumnSelection
void remove(int col)
{
void remove(int col)
{
- Integer colInt = new Integer(col);
+ Integer colInt = Integer.valueOf(col);
if (selected.get(col))
{
if (selected.get(col))
{
@@
-204,7
+204,7
@@
public class ColumnSelection
// clear shifted bits and update List of selected columns
selected.clear(temp);
mask.set(temp - change);
// clear shifted bits and update List of selected columns
selected.clear(temp);
mask.set(temp - change);
- order.set(i, new Integer(temp - change));
+ order.set(i, Integer.valueOf(temp - change));
}
}
// lastly update the bitfield all at once
}
}
// lastly update the bitfield all at once
@@
-309,7
+309,7
@@
public class ColumnSelection
Integer colInt;
for (int i = start; i < end; i++)
{
Integer colInt;
for (int i = start; i < end; i++)
{
- colInt = new Integer(i);
+ colInt = Integer.valueOf(i);
if (selection.contains(colInt))
{
selection.remove(colInt);
if (selection.contains(colInt))
{
selection.remove(colInt);