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.26 by jsr166, Wed Jan 2 06:53:22 2013 UTC vs.
Revision 1.27 by jsr166, Wed Jan 2 07:50:57 2013 UTC

# Line 422 | Line 422 | public class CompletableFuture<T> implem
422       * #get()} and related methods to the given value.
423       *
424       * @param value the result value
425 <     * @return true if this invocation caused this CompletableFuture
426 <     * to transition to a completed state, else false
425 >     * @return {@code true} if this invocation caused this CompletableFuture
426 >     * to transition to a completed state, else {@code false}
427       */
428      public boolean complete(T value) {
429          boolean triggered =
# Line 439 | Line 439 | public class CompletableFuture<T> implem
439       * and related methods to throw the given exception.
440       *
441       * @param ex the exception
442 <     * @return true if this invocation caused this CompletableFuture
443 <     * to transition to a completed state, else false
442 >     * @return {@code true} if this invocation caused this CompletableFuture
443 >     * to transition to a completed state, else {@code false}
444       */
445      public boolean completeExceptionally(Throwable ex) {
446          if (ex == null) throw new NullPointerException();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines