ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/AbstractExecutorServiceTest.java
(Generate patch)

Comparing jsr166/src/test/tck/AbstractExecutorServiceTest.java (file contents):
Revision 1.1 by tim, Wed Dec 10 01:51:12 2003 UTC vs.
Revision 1.2 by tim, Wed Dec 10 02:24:00 2003 UTC

# Line 27 | Line 27 | public class AbstractExecutorServiceTest
27      static class DirectExecutorService extends AbstractExecutorService {
28          public void execute(Runnable r) { r.run(); }
29          public void shutdown() { shutdown = true; }
30 <        public List shutdownNow() { shutdown = true; return Collections.EMPTY_LIST; }
30 >        public List<Runnable> shutdownNow() { shutdown = true; return Collections.EMPTY_LIST; }
31          public boolean isShutdown() { return shutdown; }
32          public boolean isTerminated() { return isShutdown(); }
33          public boolean awaitTermination(long timeout, TimeUnit unit) { return isShutdown(); }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines