提交 05710fc2 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Use System.lineSeparator() for SysProperties.LINE_SEPARATOR

上级 24bc570e
......@@ -50,11 +50,10 @@ public class SysProperties {
public static final String FILE_SEPARATOR = File.separator;
/**
* System property <code>line.separator</code> (default: \n).<br />
* It is usually set by the system, and used by the script and trace tools.
* System property <code>line.separator</code>.<br />
* It is set by the system, and used by the script and trace tools.
*/
public static final String LINE_SEPARATOR =
Utils.getProperty("line.separator", "\n");
public static final String LINE_SEPARATOR = System.lineSeparator();
/**
* System property <code>user.home</code> (empty string if not set).<br />
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论