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

Comparing jsr166/src/main/java/util/concurrent/ScheduledThreadPoolExecutor.java (file contents):
Revision 1.18 by dl, Mon Feb 9 13:28:48 2004 UTC vs.
Revision 1.19 by dl, Thu Feb 19 16:56:47 2004 UTC

# Line 209 | Line 209 | public class ScheduledThreadPoolExecutor
209          }
210      }
211  
212 +    public boolean remove(Runnable task) {
213 +        if (!(task instanceof ScheduledFutureTask))
214 +            return false;
215 +        return getQueue().remove(task);
216 +    }
217 +
218      /**
219       * Creates a new ScheduledThreadPoolExecutor with the given core
220       * pool size.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines