ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/CompletableFuture.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/CompletableFuture.java (file contents):
Revision 1.32 by jsr166, Thu Jan 3 19:34:31 2013 UTC vs.
Revision 1.33 by jsr166, Fri Jan 18 04:23:28 2013 UTC

# Line 378 | Line 378 | public class CompletableFuture<T> implem
378      }
379  
380      /** Base class can act as either FJ or plain Runnable */
381 <    static abstract class Async extends ForkJoinTask<Void>
381 >    abstract static class Async extends ForkJoinTask<Void>
382          implements Runnable, AsynchronousCompletionTask {
383          public final Void getRawResult() { return null; }
384          public final void setRawResult(Void v) { }
# Line 547 | Line 547 | public class CompletableFuture<T> implem
547      }
548  
549      // Opportunistically subclass AtomicInteger to use compareAndSet to claim.
550 <    static abstract class Completion extends AtomicInteger implements Runnable {
550 >    abstract static class Completion extends AtomicInteger implements Runnable {
551      }
552  
553      static final class ApplyCompletion<T,U> extends Completion {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines