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.141 by jsr166, Wed Jan 7 02:40:31 2015 UTC vs.
Revision 1.142 by jsr166, Wed Jan 7 17:19:00 2015 UTC

# Line 571 | Line 571 | public class CompletableFuture<T> implem
571      private <V> CompletableFuture<V> uniApplyStage(
572          Executor e, Function<? super T,? extends V> f) {
573          if (f == null) throw new NullPointerException();
574 <        CompletableFuture<V> d =  new CompletableFuture<V>();
574 >        CompletableFuture<V> d = new CompletableFuture<V>();
575          if (e != null || !d.uniApply(this, f, null)) {
576              UniApply<T,V> c = new UniApply<T,V>(e, d, this, f);
577              push(c);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines