Remove unnecessary overriding methods, fix compilation
This commit is contained in:
@@ -125,22 +125,6 @@ public class TextOutputImpl implements TextOutput {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void printOpt(char[] s) {
|
|
||||||
if (!compact) {
|
|
||||||
maybeIndent();
|
|
||||||
printAndCount(s);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void printOpt(String s) {
|
|
||||||
if (!compact) {
|
|
||||||
maybeIndent();
|
|
||||||
printAndCount(s);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void maybeIndent() {
|
public void maybeIndent() {
|
||||||
if (justNewlined && !compact) {
|
if (justNewlined && !compact) {
|
||||||
@@ -160,9 +144,4 @@ public class TextOutputImpl implements TextOutput {
|
|||||||
column += chars.length;
|
column += chars.length;
|
||||||
out.append(chars);
|
out.append(chars);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean isJustNewlined() {
|
|
||||||
return justNewlined && !compact;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user