Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit aff05c9

Browse files
Merge pull request #2696 from uncle-lv/fix-typo
docs(java-concurrent-question-03.md): fix typo
2 parents 221372c + e5422ae commit aff05c9

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
@@ -792,7 +792,7 @@ public interface ReadWriteLock {
792792

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

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

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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /