Remove unnecessary overriding methods, fix compilation

This commit is contained in:
Alexey Andreev
2017-07-06 10:34:05 +03:00
parent ca63717124
commit 4bd9866975
@@ -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
public void maybeIndent() {
if (justNewlined && !compact) {
@@ -160,9 +144,4 @@ public class TextOutputImpl implements TextOutput {
column += chars.length;
out.append(chars);
}
@Override
public boolean isJustNewlined() {
return justNewlined && !compact;
}
}