Use getProperty() instead of System.lineSeperator(). See pull #12

Thanks to DerFlash for notifying me about this issue.
This commit is contained in:
Kristian S. Stangeland 2013-12-06 01:25:33 +01:00
parent 6c3a3e0ba2
commit e39310fbcc

View File

@ -13,7 +13,7 @@ import com.google.common.io.Closeables;
import com.google.common.io.Files;
public class TimingReportGenerator {
private static final String NEWLINE = System.lineSeparator();
private static final String NEWLINE = System.getProperty("line.separator");
private static final String META_STARTED = "Started: %s" + NEWLINE;
private static final String META_STOPPED = "Stopped: %s (after %s seconds)" + NEWLINE;
private static final String PLUGIN_HEADER = "=== PLUGIN %s ===" + NEWLINE;