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.19 by dl, Thu Feb 19 16:56:47 2004 UTC vs.
Revision 1.20 by dl, Sat Apr 10 14:24:36 2004 UTC

# Line 111 | Line 111 | public class ScheduledThreadPoolExecutor
111              return d;
112          }
113  
114 <        public int compareTo(Object other) {
114 >        public int compareTo(Delayed other) {
115              if (other == this) // compare zero ONLY if same object
116                  return 0;
117              ScheduledFutureTask<?> x = (ScheduledFutureTask<?>)other;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines