From: Erik V. <ev...@us...> - 2009-11-27 20:34:11
|
Update of /cvsroot/rails/18xx/rails/game In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv8975/rails/game Modified Files: ReportBuffer.java Log Message: Enable empty lines Index: ReportBuffer.java =================================================================== RCS file: /cvsroot/rails/18xx/rails/game/ReportBuffer.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ReportBuffer.java 30 Oct 2009 21:53:03 -0000 1.6 --- ReportBuffer.java 27 Nov 2009 20:34:01 -0000 1.7 *************** *** 63,70 **** private void addMessage (String message) { ! if (Util.hasValue(message)) { reportBuffer.append(message).append("\n"); /* Also log the message */ ! log.info(message); /* Also write it to the report file, if requested */ if (wantReport) writeToReport(message); --- 63,70 ---- private void addMessage (String message) { ! if (message != null) { reportBuffer.append(message).append("\n"); /* Also log the message */ ! if (message.length() > 0) log.info(message); /* Also write it to the report file, if requested */ if (wantReport) writeToReport(message); |