# | Line 35 | Line 35 | public final class IteratorLoops { | |
---|---|---|
35 | (Collection<Integer>[])new Collection<?>[NC]; | |
36 | ||
37 | for (int k = 0; k < colls.length; ++k) { | |
38 | < | Object x = klass.newInstance(); |
38 | > | Object x = klass.getConstructor().newInstance(); |
39 | if (x instanceof Collection) | |
40 | colls[k] = (Collection<Integer>) x; | |
41 | else if (x instanceof Map) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |