ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/ExecutorCompletionService.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/ExecutorCompletionService.java (file contents):
Revision 1.24 by jsr166, Sun Sep 20 17:03:22 2015 UTC vs.
Revision 1.25 by jsr166, Tue May 3 23:04:58 2016 UTC

# Line 28 | Line 28 | package java.util.concurrent;
28   *            Collection<Callable<Result>> solvers)
29   *     throws InterruptedException, ExecutionException {
30   *   CompletionService<Result> ecs
31 < *       = new ExecutorCompletionService<Result>(e);
31 > *       = new ExecutorCompletionService<>(e);
32   *   for (Callable<Result> s : solvers)
33   *     ecs.submit(s);
34   *   int n = solvers.size();
# Line 48 | Line 48 | package java.util.concurrent;
48   *            Collection<Callable<Result>> solvers)
49   *     throws InterruptedException {
50   *   CompletionService<Result> ecs
51 < *       = new ExecutorCompletionService<Result>(e);
51 > *       = new ExecutorCompletionService<>(e);
52   *   int n = solvers.size();
53   *   List<Future<Result>> futures = new ArrayList<>(n);
54   *   Result result = null;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines