# | 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() { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |