# | Line 38 | Line 38 | public final class IteratorLoops { | |
---|---|---|
38 | for (int k = 0; k < colls.length; ++k) { | |
39 | Object x = klass.newInstance(); | |
40 | if (x instanceof Collection) | |
41 | < | colls[k] = (Collection<Integer>)x; |
41 | > | colls[k] = (Collection<Integer>) x; |
42 | else if (x instanceof Map) | |
43 | < | colls[k] = (Collection<Integer>)Collections.newSetFromMap((Map)x); |
43 | > | colls[k] = (Collection<Integer>) |
44 | > | Collections.newSetFromMap((Map) x); |
45 | else | |
46 | throw new Error("bad class"); | |
47 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |