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
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user