Skip to content

Commit eac0b52

Browse files
authored
错别字fix
1 parent 3c9d023 commit eac0b52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/java/io/io-design-patterns.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ StreamDecoder(InputStream in, Object lock, CharsetDecoder dec) {
174174

175175
适配器和适配者两者不需要继承相同的抽象类或者实现相同的接口。
176176

177-
另外,`FutrueTask` 类使用了适配器模式,`Executors` 的内部类 `RunnableAdapter` 实现属于适配器,用于将 `Runnable` 适配成 `Callable`
177+
另外,`FutureTask` 类使用了适配器模式,`Executors` 的内部类 `RunnableAdapter` 实现属于适配器,用于将 `Runnable` 适配成 `Callable`
178178

179179
`FutureTask`参数包含 `Runnable` 的一个构造方法:
180180

@@ -316,4 +316,4 @@ class PollingWatchService
316316

317317
- Patterns in Java APIs:http://cecs.wright.edu/~tkprasad/courses/ceg860/paper/node26.html
318318
- 装饰器模式:通过剖析 Java IO 类库源码学习装饰器模式:https://time.geekbang.org/column/article/204845
319-
- sun.nio 包是什么,是 java 代码么? - RednaxelaFX https://www.zhihu.com/question/29237781/answer/43653953
319+
- sun.nio 包是什么,是 java 代码么? - RednaxelaFX https://www.zhihu.com/question/29237781/answer/43653953

0 commit comments

Comments
 (0)