Closedown

This commit is contained in:
boccioli_m
2017-08-31 16:23:51 +02:00
parent 3e158fdd63
commit fe060227c5

View File

@@ -2488,29 +2488,19 @@ public class TestingList extends Panel {
HashMap testParams = buildParametersMap(getConfigItem("parameters", sTestPath));
HashMap params;
Iterator it = deviceParams.entrySet().iterator();
System.out.println("deviceParams: " + deviceParams.size());
while (it.hasNext()) {
Map.Entry pair = (Map.Entry)it.next();
System.out.println(pair.getKey() + " = " + pair.getValue());
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.remove(); // avoids a ConcurrentModificationException
}
it = testParams.entrySet().iterator();
System.out.println("testParams: " + testParams.size());
while (it.hasNext()) {
Map.Entry pair = (Map.Entry)it.next();
System.out.println(pair.getKey() + " = " + pair.getValue());
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.remove(); // avoids a ConcurrentModificationException
}
return testParams;
}