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.19 by dl, Thu Jan 22 14:07:50 2004 UTC vs.
Revision 1.20 by dl, Thu Jan 22 14:39:25 2004 UTC

# Line 497 | Line 497 | public class ScheduledExecutorTest exten
497          ScheduledThreadPoolExecutor p1 = new ScheduledThreadPoolExecutor(1);
498          ScheduledFuture[] tasks = new ScheduledFuture[5];
499          for(int i = 0; i < 5; i++){
500 <            tasks[i] = p1.schedule(new SmallPossiblyInterruptedRunnable(), SHORT_DELAY_MS, TimeUnit.MILLISECONDS);
500 >            tasks[i] = p1.schedule(new SmallPossiblyInterruptedRunnable(), 1, TimeUnit.MILLISECONDS);
501          }
502          try {
503              Thread.sleep(SHORT_DELAY_MS);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines