ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/jdk7/java/util/concurrent/ScheduledThreadPoolExecutor.java
(Generate patch)

Comparing jsr166/src/jdk7/java/util/concurrent/ScheduledThreadPoolExecutor.java (file contents):
Revision 1.5 by jsr166, Sat Jul 20 20:27:22 2013 UTC vs.
Revision 1.6 by jsr166, Fri Apr 11 21:15:44 2014 UTC

# Line 807 | Line 807 | public class ScheduledThreadPoolExecutor
807          private RunnableScheduledFuture<?>[] queue =
808              new RunnableScheduledFuture<?>[INITIAL_CAPACITY];
809          private final ReentrantLock lock = new ReentrantLock();
810 <        private int size = 0;
810 >        private int size;
811  
812          /**
813           * Thread designated to wait for the task at the head of the
# Line 825 | Line 825 | public class ScheduledThreadPoolExecutor
825           * signalled.  So waiting threads must be prepared to acquire
826           * and lose leadership while waiting.
827           */
828 <        private Thread leader = null;
828 >        private Thread leader;
829  
830          /**
831           * Condition signalled when a newer task becomes available at the

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines