ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/ScheduledExecutorTest.java
(Generate patch)

Comparing jsr166/src/test/tck/ScheduledExecutorTest.java (file contents):
Revision 1.48 by jsr166, Wed Sep 25 06:59:34 2013 UTC vs.
Revision 1.49 by jsr166, Wed Sep 25 07:39:17 2013 UTC

# Line 146 | Line 146 | public class ScheduledExecutorTest exten
146                  long startTime = System.nanoTime();
147                  int cycles = 10;
148                  final CountDownLatch done = new CountDownLatch(cycles);
149 <                CheckedRunnable task = new CheckedRunnable() {
149 >                Runnable task = new CheckedRunnable() {
150                      public void realRun() { done.countDown(); }};
151                  ScheduledFuture h =
152                      p.scheduleAtFixedRate(task, 0, delay, MILLISECONDS);
# Line 174 | Line 174 | public class ScheduledExecutorTest exten
174                  long startTime = System.nanoTime();
175                  int cycles = 10;
176                  final CountDownLatch done = new CountDownLatch(cycles);
177 <                CheckedRunnable task = new CheckedRunnable() {
177 >                Runnable task = new CheckedRunnable() {
178                      public void realRun() { done.countDown(); }};
179                  ScheduledFuture h =
180                      p.scheduleWithFixedDelay(task, 0, delay, MILLISECONDS);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines