提交 fef7a00e authored 作者: noelgrandin's avatar noelgrandin

field name potentially hides same field in outer scope

上级 9b4dbc17
......@@ -92,12 +92,12 @@ public class OutputCatcher {
*/
final PrintStream print;
private final HtmlOutputStream out;
private final HtmlOutputStream htmlOut;
private final boolean error;
DualOutputStream(HtmlOutputStream out, PrintStream print, boolean error) {
super(out);
this.out = out;
this.htmlOut = out;
this.print = print;
this.error = error;
}
......@@ -114,7 +114,7 @@ public class OutputCatcher {
public void write(int b) throws IOException {
print.write(b);
out.write(error, b);
htmlOut.write(error, b);
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论