mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-11-28 05:35:28 +01:00
Use getProperty() instead of System.lineSeperator(). See pull #12
Thanks to DerFlash for notifying me about this issue.
This commit is contained in:
parent
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user