Skip to content

Commit 6e1d167

Browse files
authored
Update CountDownLatchDemo2.java
1 parent 796c236 commit 6e1d167

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CountDownLatchDemo2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public static void main(String[] args) {
4343

4444
List<MyTask> tasks = new ArrayList<>();
4545
for (int i = 0; i < NUM_TASKS; i++) {
46-
tasks.add(new MyTask(latch));
46+
tasks.add(new CountDownLatchDemo2.MyTask(latch));
4747
}
4848

4949
ExecutorService pool = Executors.newFixedThreadPool(NUM_TASKS);

0 commit comments

Comments
 (0)