New J2K: Split old j2k and new j2k tests
This commit is contained in:
committed by
Ilya Kirillov
parent
02a206bf7c
commit
b411e8e18e
@@ -0,0 +1,14 @@
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
public class TestMutableCollection {
|
||||
public final List<String> list = new ArrayList<>();
|
||||
|
||||
public void test() {
|
||||
for (Iterator<String> it = list.iterator(); it.hasNext(); ) {
|
||||
String s = it.next();
|
||||
if (s.equals("")) it.remove();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user