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.79 by jsr166, Wed Mar 26 22:39:02 2014 UTC vs.
Revision 1.80 by jsr166, Fri Apr 11 21:15:44 2014 UTC

# Line 833 | Line 833 | public class ScheduledThreadPoolExecutor
833          private RunnableScheduledFuture<?>[] queue =
834              new RunnableScheduledFuture<?>[INITIAL_CAPACITY];
835          private final ReentrantLock lock = new ReentrantLock();
836 <        private int size = 0;
836 >        private int size;
837  
838          /**
839           * Thread designated to wait for the task at the head of the
# Line 851 | Line 851 | public class ScheduledThreadPoolExecutor
851           * signalled.  So waiting threads must be prepared to acquire
852           * and lose leadership while waiting.
853           */
854 <        private Thread leader = null;
854 >        private Thread leader;
855  
856          /**
857           * Condition signalled when a newer task becomes available at the

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines