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.160 by jsr166, Thu Sep 3 22:54:46 2015 UTC vs.
Revision 1.161 by dl, Fri Sep 4 10:56:07 2015 UTC

# Line 2405 | Line 2405 | public class CompletableFuture<T> implem
2405      /**
2406       * Returns the default Executor used for async methods that do not
2407       * specify an Executor. This class uses the {@link
2408 <     * ForkJoinPool#commonPool()}, but may be overridden in subclasses
2409 <     * with an Executor that provides at least one independent thread.
2408 >     * ForkJoinPool#commonPool()} if it supports more than one
2409 >     * parallel thread, or else an Executor using one thread per async
2410 >     * task.  This method may be be overridden in subclasses to return
2411 >     * an Executor that provides at least one independent thread.
2412       *
2413       * @return the executor
2414       * @since 1.9

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines