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.58 by jsr166, Tue Mar 15 19:47:03 2011 UTC vs.
Revision 1.59 by dl, Mon May 30 23:08:50 2011 UTC

# 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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines