Skip to content

Commit e5422ae

Browse files
committed
docs(java-concurrent-question-03.md): fix typo
1 parent 4b34db7 commit e5422ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ public interface ReadWriteLock {
688688

689689
![](https://oss.javaguide.cn/github/javaguide/java/concurrent/reentrantreadwritelock-class-diagram.png)
690690

691-
`ReentrantReadWriteLock` 也支持公平锁和非公平锁,默认使用非公平锁,可以通过构造器来显示的指定
691+
`ReentrantReadWriteLock` 也支持公平锁和非公平锁,默认使用非公平锁,可以通过构造器来显式地指定
692692

693693
```java
694694
// 传入一个 boolean 值,true 时为公平锁,false 时为非公平锁

0 commit comments

Comments
 (0)