Replace "\n" with System.getProperty("line.separator")

This commit is contained in:
Alexander Udalov
2012-09-05 18:02:41 +04:00
parent 0e3dd77098
commit 5aca16e65e
@@ -32,7 +32,11 @@ public class Printer {
public void println(Object... objects) {
print(objects);
out.append("\n");
println();
}
private void println() {
out.append(System.getProperty("line.separator"));
}
public void print(Object... objects) {
@@ -48,7 +52,7 @@ public class Printer {
public void printlnWithNoIndent(Object... objects) {
printWithNoIndent(objects);
out.append("\n");
println();
}
public void pushIndent() {