posted 16 years ago
Hello,
I am trying to remove some of the ArrayList during iteration over it. If I call the remove on one of the members I receive "java.util.AbstractList$Itr.checkForComodification" exception.
To avoid this I have added a line of code to repair the iterator (in 2nd code). Is this the right way to achieve my purpose or I should do something else.
Thank you,
Corrected: