We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 352b05c + 3bab51f commit 3783714Copy full SHA for 3783714
docs/java/io/io-design-patterns.md
@@ -118,8 +118,8 @@ BufferedReader bufferedReader = new BufferedReader(isr);
118
119
```java
120
public class InputStreamReader extends Reader {
121
- //用于解码的对象
122
- private final StreamDecoder sd;
+ //用于解码的对象
+ private final StreamDecoder sd;
123
public InputStreamReader(InputStream in) {
124
super(in);
125
try {
@@ -130,7 +130,7 @@ public class InputStreamReader extends Reader {
130
}
131
132
// 使用 StreamDecoder 对象做具体的读取工作
133
- public int read() throws IOException {
+ public int read() throws IOException {
134
return sd.read();
135
136
0 commit comments