diff --git a/plugins/TestingList.java b/plugins/TestingList.java index a25085f..7d6b2f5 100644 --- a/plugins/TestingList.java +++ b/plugins/TestingList.java @@ -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; }