ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/loops/CollectionWordLoops.java
(Generate patch)

Comparing jsr166/src/test/loops/CollectionWordLoops.java (file contents):
Revision 1.4 by jsr166, Mon Nov 2 23:42:46 2009 UTC vs.
Revision 1.5 by jsr166, Mon Nov 2 23:51:32 2009 UTC

# 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);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines