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

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

# Line 501 | Line 501 | public class LockStep {
501          }
502      }
503  
504 <    static abstract class MapFrobber { abstract void frob(NavigableMap m); }
505 <    static abstract class SetFrobber { abstract void frob(NavigableSet m); }
504 >    abstract static class MapFrobber { abstract void frob(NavigableMap m); }
505 >    abstract static class SetFrobber { abstract void frob(NavigableSet m); }
506  
507      static MapFrobber randomAdder(NavigableMap m) {
508          final Integer k = unusedKey(m);
# Line 813 | Line 813 | public class LockStep {
813          System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed);
814          if (failed > 0) throw new Exception("Some tests failed");
815      }
816 <    static abstract class Fun {abstract void f() throws Throwable;}
816 >    abstract static class Fun {abstract void f() throws Throwable;}
817      static void THROWS(Class<? extends Throwable> k, Fun... fs) {
818            for (Fun f : fs)
819                try { f.f(); fail("Expected " + k.getName() + " not thrown"); }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines