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.152 by jsr166, Wed Jan 14 22:00:16 2015 UTC vs.
Revision 1.153 by dl, Thu Jan 15 00:42:07 2015 UTC

# Line 2592 | Line 2592 | public class CompletableFuture<T> implem
2592       * @return the exceptionally completed CompletionStage
2593       * @since 1.9
2594       */
2595 <    public static <U> CompletableFuture<U> failedStage(Throwable ex) {
2595 >    public static <U> CompletionStage<U> failedStage(Throwable ex) {
2596          if (ex == null) throw new NullPointerException();
2597          return new MinimalStage<U>(encodeThrowable(ex));
2598      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines