SDK Bug: 20430
Change-Id: Id427390c799165a1dff07530c6fce48488193055
public void printf(String msgFormat, Object... args) {
System.out.printf(msgFormat, args);
+ if (!msgFormat.endsWith("\n")) {
+ System.out.printf("\n");
+ }
}
};
}
void error(Throwable t, String errorFormat, Object... args);
/**
- * Prints a message as-is on stdout.
+ * Prints a message on stdout.
+ * IF the message does not end with \n, a carriage return will be inserted.
* <p/>
* Implementation can omit printing such messages when not in verbose mode.
* No prefix is used, the message is printed as-is after formatting.