JAL-2001 - note about possible side effect on JalviewLite.selectIn due to refactored...
[jalview.git] / src / jalview / bin / JalviewLite.java
index ae84ba5..095cfd3 100644 (file)
@@ -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)
           {