ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/jtreg/util/Collection/IteratorAtEnd.java
(Generate patch)

Comparing jsr166/src/test/jtreg/util/Collection/IteratorAtEnd.java (file contents):
Revision 1.3 by jsr166, Sun Sep 5 21:32:19 2010 UTC vs.
Revision 1.4 by jsr166, Mon Sep 27 19:15:15 2010 UTC

# Line 132 | Line 132 | public class IteratorAtEnd {
132          try {realMain(args);} catch (Throwable t) {unexpected(t);}
133          System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed);
134          if (failed > 0) throw new AssertionError("Some tests failed");}
135 <    private static abstract class Fun {abstract void f() throws Throwable;}
135 >    private abstract static class Fun {abstract void f() throws Throwable;}
136      static void THROWS(Class<? extends Throwable> k, Fun... fs) {
137          for (Fun f : fs)
138              try { f.f(); fail("Expected " + k.getName() + " not thrown"); }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines