# | Line 610 | Line 610 | public class ScheduledExecutorSubclassTe | |
---|---|---|
610 | Runnable r = new CheckedRunnable() { | |
611 | public void realRun() throws InterruptedException { | |
612 | threadStarted.countDown(); | |
613 | < | done.await(); |
613 | > | await(done); |
614 | }}; | |
615 | tasks[i] = p.schedule(r, 1, MILLISECONDS); | |
616 | } | |
# | Line 635 | Line 635 | public class ScheduledExecutorSubclassTe | |
635 | Runnable r = new CheckedRunnable() { | |
636 | public void realRun() throws InterruptedException { | |
637 | threadStarted.countDown(); | |
638 | < | done.await(); |
638 | > | await(done); |
639 | }}; | |
640 | tasks[i] = p.schedule(r, 1, MILLISECONDS); | |
641 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |