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.100 by jsr166, Fri Nov 20 20:49:49 2015 UTC vs.
Revision 1.101 by jsr166, Wed Nov 30 03:46:37 2016 UTC

# Line 1277 | Line 1277 | public class ScheduledThreadPoolExecutor
1277              public Runnable next() {
1278                  if (cursor >= array.length)
1279                      throw new NoSuchElementException();
1280 <                lastRet = cursor;
1281 <                return array[cursor++];
1280 >                return array[lastRet = cursor++];
1281              }
1282  
1283              public void remove() {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines