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

Comparing jsr166/src/test/tck/FutureTaskTest.java (file contents):
Revision 1.23 by jsr166, Fri Jan 7 07:46:26 2011 UTC vs.
Revision 1.25 by dl, Fri May 6 11:22:07 2011 UTC

# Line 1 | Line 1
1   /*
2   * Written by Doug Lea with assistance from members of JCP JSR-166
3   * Expert Group and released to the public domain, as explained at
4 < * http://creativecommons.org/licenses/publicdomain
4 > * http://creativecommons.org/publicdomain/zero/1.0/
5   * Other contributors include Andrew Wright, Jeffrey Hayes,
6   * Pat Fisher, Mike Judd.
7   */
# Line 366 | Line 366 | public class FutureTaskTest extends JSR1
366              new FutureTask(new CheckedInterruptedCallable<Object>() {
367                  public Object realCall() throws InterruptedException {
368                      threadStarted.countDown();
369 <                    Thread.sleep(LONG_DELAY_MS);
369 >                    delay(LONG_DELAY_MS);
370                      return Boolean.TRUE;
371                  }});
372  
# Line 395 | Line 395 | public class FutureTaskTest extends JSR1
395              new FutureTask(new CheckedInterruptedCallable<Object>() {
396                  public Object realCall() throws InterruptedException {
397                      threadStarted.countDown();
398 <                    Thread.sleep(LONG_DELAY_MS);
398 >                    delay(LONG_DELAY_MS);
399                      return Boolean.TRUE;
400                  }});
401  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines