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

Comparing jsr166/src/main/java/util/concurrent/AbstractExecutorService.java (file contents):
Revision 1.24 by jsr166, Sun Jun 12 00:35:38 2005 UTC vs.
Revision 1.25 by jsr166, Mon Aug 15 20:37:03 2005 UTC

# Line 5 | Line 5
5   */
6  
7   package java.util.concurrent;
8 <
8 > import java.util.concurrent.*; // for javadoc (till 6280605 is fixed)
9   import java.util.*;
10  
11   /**
# Line 26 | Line 26 | import java.util.*;
26   * <pre>
27   * public class CustomThreadPoolExecutor extends ThreadPoolExecutor {
28   *
29 < *    static class CustomTask&lt;V&gt; implements RunnableFuture&lt;V&gt; {...}
29 > *   static class CustomTask&lt;V&gt; implements RunnableFuture&lt;V&gt; {...}
30   *
31 < *    protected &lt;V&gt; RunnableFuture&lt;V&gt; newTaskFor(Callable&lt;V&gt; c) {
32 < *         return new CustomTask&lt;V&gt;(c);
33 < *     }
34 < *    protected &lt;V&gt; RunnableFuture&lt;V&gt; newTaskFor(Runnable r, V v) {
35 < *         return new CustomTask&lt;V&gt;(r, v);
36 < *     }
37 < *     // ... add constructors, etc.
31 > *   protected &lt;V&gt; RunnableFuture&lt;V&gt; newTaskFor(Callable&lt;V&gt; c) {
32 > *       return new CustomTask&lt;V&gt;(c);
33 > *   }
34 > *   protected &lt;V&gt; RunnableFuture&lt;V&gt; newTaskFor(Runnable r, V v) {
35 > *       return new CustomTask&lt;V&gt;(r, v);
36 > *   }
37 > *   // ... add constructors, etc.
38   * }
39   * </pre>
40   * @since 1.5

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines