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.210 by jsr166, Wed Sep 21 06:03:17 2016 UTC vs.
Revision 1.211 by jsr166, Wed Aug 16 17:18:34 2017 UTC

# Line 2461 | Line 2461 | public class CompletableFuture<T> implem
2461          for (Completion p = stack; p != null; p = p.next)
2462              ++count;
2463          return super.toString() +
2464 <            ((r == null) ?
2465 <             ((count == 0) ?
2466 <              "[Not completed]" :
2467 <              "[Not completed, " + count + " dependents]") :
2468 <             (((r instanceof AltResult) && ((AltResult)r).ex != null) ?
2469 <              "[Completed exceptionally]" :
2470 <              "[Completed normally]"));
2464 >            ((r == null)
2465 >             ? ((count == 0)
2466 >                ? "[Not completed]"
2467 >                : "[Not completed, " + count + " dependents]")
2468 >             : (((r instanceof AltResult) && ((AltResult)r).ex != null)
2469 >                ? "[Completed exceptionally: " + ((AltResult)r).ex + "]"
2470 >                : "[Completed normally]"));
2471      }
2472  
2473      // jdk9 additions

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines