# | Line 66 | Line 66 | public class CollectionWordLoops { | |
---|---|---|
66 | ||
67 | static Collection<String> newCollection(Class cl) { | |
68 | try { | |
69 | < | Collection m = (Collection<String>)cl.newInstance(); |
69 | > | Collection m = (Collection<String>) cl.newInstance(); |
70 | return m; | |
71 | } catch (Exception e) { | |
72 | throw new RuntimeException("Can't instantiate " + cl + ": " + e); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |