# | Line 206 | Line 206 | public class ScheduledThreadPoolExecutor | |
---|---|---|
206 | } | |
207 | ||
208 | public int compareTo(Delayed other) { | |
209 | < | if (other == this) // compare zero ONLY if same object |
209 | > | if (other == this) // compare zero if same object |
210 | return 0; | |
211 | if (other instanceof ScheduledFutureTask) { | |
212 | ScheduledFutureTask<?> x = (ScheduledFutureTask<?>)other; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |