Closedown

This commit is contained in:
boccioli_m
2017-08-31 16:15:31 +02:00
parent 564d0b9ac0
commit 2a4b4a667e

View File

@@ -2491,14 +2491,26 @@ public class TestingList extends Panel {
while (it.hasNext()) {
Map.Entry pair = (Map.Entry)it.next();
System.out.println(pair.getKey() + " = " + pair.getValue());
it.remove(); // avoids a ConcurrentModificationException
Iterator subit = deviceParams.entrySet().iterator();
while (it.hasNext()) {
Map.Entry subpair = (Map.Entry)subit.next();
System.out.println(subpair.getKey() + " = " + subpair.getValue());
subit.remove(); // avoids a ConcurrentModificationException
}
it.remove(); // avoids a ConcurrentModificationException
}
it = testParams.entrySet().iterator();
while (it.hasNext()) {
Map.Entry pair = (Map.Entry)it.next();
System.out.println(pair.getKey() + " = " + pair.getValue());
it.remove(); // avoids a ConcurrentModificationException
}
Iterator subit = deviceParams.entrySet().iterator();
while (it.hasNext()) {
Map.Entry subpair = (Map.Entry)subit.next();
System.out.println(subpair.getKey() + " = " + subpair.getValue());
subit.remove(); // avoids a ConcurrentModificationException
}
it.remove(); // avoids a ConcurrentModificationException
}
return testParams;
}