提交 d6f602e4 authored 作者: Thomas Mueller's avatar Thomas Mueller

Use import statements.

上级 f8c302f4
...@@ -11,7 +11,9 @@ import java.io.BufferedOutputStream; ...@@ -11,7 +11,9 @@ import java.io.BufferedOutputStream;
import java.io.BufferedWriter; import java.io.BufferedWriter;
import java.io.DataInputStream; import java.io.DataInputStream;
import java.io.DataOutputStream; import java.io.DataOutputStream;
import java.io.FilterOutputStream;
import java.io.IOException; import java.io.IOException;
import java.io.OutputStream;
import java.io.OutputStreamWriter; import java.io.OutputStreamWriter;
import java.io.Reader; import java.io.Reader;
import java.io.Writer; import java.io.Writer;
...@@ -393,7 +395,7 @@ public class Transfer { ...@@ -393,7 +395,7 @@ public class Transfer {
// below, writer.flush needs to be called to ensure the buffer is written // below, writer.flush needs to be called to ensure the buffer is written
// but, this will also flush the output stream, and this slows things down // but, this will also flush the output stream, and this slows things down
// so construct an output stream that will ignore this chained flush call // so construct an output stream that will ignore this chained flush call
java.io.OutputStream out2 = new java.io.FilterOutputStream(out) { OutputStream out2 = new FilterOutputStream(out) {
public void flush() { public void flush() {
// do nothing // do nothing
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论