Skip to content

Commit f5ffecd

Browse files
committed
[docs update]补充缺失内容
1 parent 9276ac2 commit f5ffecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/java/concurrent/java-concurrent-questions-03.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ bothCompleted.thenRunAsync(() -> System.out.println("T3 is executing after T1 an
916916
ThreadUtil.sleep(3000);
917917
```
918918

919-
通过 `CompletableFuture` 的 `allOf()`这个静态方法来并行运行 T1T2T1
919+
通过 `CompletableFuture` 的 `allOf()` 这个静态方法来并行运行 T1T2T1 T2 都完成后,再执行 T3
920920

921921
### ⭐️使用 CompletableFuture,有一个任务失败,如何处理异常?
922922

0 commit comments

Comments
 (0)