Rename println() method to prevent name collisions with the existing vararg method

This commit is contained in:
Alexander Udalov
2012-09-05 19:39:26 +04:00
parent 38fec5e4cb
commit 34eade6f4f
@@ -32,10 +32,10 @@ public class Printer {
public void println(Object... objects) {
print(objects);
println();
printLineSeparator();
}
private void println() {
private void printLineSeparator() {
out.append(System.getProperty("line.separator"));
}
@@ -52,7 +52,7 @@ public class Printer {
public void printlnWithNoIndent(Object... objects) {
printWithNoIndent(objects);
println();
printLineSeparator();
}
public void pushIndent() {