PrintWriter::writeLine doesn't generate notice and warning, when it has nothing to write, only new line character