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:
f3b3960
)
JAL-2001 - note about possible side effect on JalviewLite.selectIn due to refactored...
author
Jim Procter
<jprocter@issues.jalview.org>
Mon, 4 Apr 2016 14:48:42 +0000
(15:48 +0100)
committer
Jim Procter
<jprocter@issues.jalview.org>
Mon, 4 Apr 2016 14:48:42 +0000
(15:48 +0100)
src/jalview/bin/JalviewLite.java
patch
|
blob
|
history
diff --git
a/src/jalview/bin/JalviewLite.java
b/src/jalview/bin/JalviewLite.java
index
ae84ba5
..
095cfd3
100644
(file)
--- a/
src/jalview/bin/JalviewLite.java
+++ b/
src/jalview/bin/JalviewLite.java
@@
-459,6
+459,9
@@
public class JalviewLite extends Applet implements
if (csel != null)
{
List<Integer> cs = csel.getSelected();
+ // note - the following actually clears cs as well, since
+ // csel.getSelected returns a reference. Need to check if we need to
+ // have a concurrentModification exception thrown here
csel.clear();
for (Integer selectedCol : cs)
{