Skip to content

Commit fddf33a

Browse files
authored
Merge pull request #2576 from suaxi/main
fix:补充《Java并发常见面试题总结(下)》中缺失的文字描述
2 parents c5be500 + f5ffecd commit fddf33a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/java/concurrent/java-concurrent-questions-03.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ bothCompleted.thenRunAsync(() -> System.out.println("T3 is executing after T1 an
914914
ThreadUtil.sleep(3000);
915915
```
916916

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

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

0 commit comments

Comments
 (0)