Use getProperty() instead of System.lineSeperator(). See pull #12
Thanks to DerFlash for notifying me about this issue.
Dieser Commit ist enthalten in:
Ursprung
6c3a3e0ba2
Commit
e39310fbcc
@ -13,7 +13,7 @@ import com.google.common.io.Closeables;
|
|||||||
import com.google.common.io.Files;
|
import com.google.common.io.Files;
|
||||||
|
|
||||||
public class TimingReportGenerator {
|
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_STARTED = "Started: %s" + NEWLINE;
|
||||||
private static final String META_STOPPED = "Stopped: %s (after %s seconds)" + NEWLINE;
|
private static final String META_STOPPED = "Stopped: %s (after %s seconds)" + NEWLINE;
|
||||||
private static final String PLUGIN_HEADER = "=== PLUGIN %s ===" + NEWLINE;
|
private static final String PLUGIN_HEADER = "=== PLUGIN %s ===" + NEWLINE;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren