Skip to content

Commit 7b22f0a

Browse files
authored
Merge pull request #2657 from Slade66/main
[docs fix]修正错别字
2 parents f63f39f + 6042bc3 commit 7b22f0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -475,8 +475,8 @@ synchronized static void method() {
475475

476476
对括号里指定的对象/类加锁:
477477

478-
- `synchronized(object)` 表示进入同步代码库前要获得 **给定对象的锁**
479-
- `synchronized(类.class)` 表示进入同步代码前要获得 **给定 Class 的锁**
478+
- `synchronized(object)` 表示进入同步代码块前要获得 **给定对象的锁**
479+
- `synchronized(类.class)` 表示进入同步代码块前要获得 **给定 Class 的锁**
480480

481481
```java
482482
synchronized(this) {

0 commit comments

Comments
 (0)