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.99 by dl, Sun Apr 6 20:58:46 2014 UTC vs.
Revision 1.100 by jsr166, Mon Apr 7 15:51:32 2014 UTC

# Line 160 | Line 160 | public class CompletableFuture<T> implem
160      }
161  
162      /**
163 <     * Removes and signals all waiting threads
163 >     * Removes and signals all waiting threads.
164       */
165      final void removeAndSignalWaiters() {
166          WaitNode q; Thread t;
# Line 199 | Line 199 | public class CompletableFuture<T> implem
199      }
200  
201      /**
202 <     * Sets result, signals waiters, and triggers dependents
202 >     * Sets result, signals waiters, and triggers dependents.
203       */
204      final void internalComplete(T v, Throwable ex) {
205          setInternalResult(v, ex);
# Line 218 | Line 218 | public class CompletableFuture<T> implem
218      }
219  
220      /**
221 <     * If completed, helps signal waiters and trigger dependents
221 >     * If completed, helps signal waiters and trigger dependents.
222       */
223      final void helpPostComplete() {
224          if (result != null) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines