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.22 by dl, Tue May 17 13:08:08 2005 UTC vs.
Revision 1.23 by dl, Fri May 20 16:25:51 2005 UTC

# 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 < *    &lt;V&gt; protected RunnableFuture&lt;V&gt; newTaskFor(Callable&lt;V&gt; c) {
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 < *    &lt;V&gt; protected RunnableFuture&lt;V&gt; newTaskFor(Runnable r, V v) {
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.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines