提交 cfecfb79 编写于 作者: S simon824

1. change windows new line 'CR' to linux new line 'LF'

2. solve conflict
上级 65841a57
...@@ -119,7 +119,7 @@ public class JSONUtils { ...@@ -119,7 +119,7 @@ public class JSONUtils {
*/ */
public static <T> List<T> toList(String json, Class<T> clazz) { public static <T> List<T> toList(String json, Class<T> clazz) {
if (StringUtils.isEmpty(json)) { if (StringUtils.isEmpty(json)) {
return new ArrayList<>(); return Collections.emptyList();
} }
try { try {
...@@ -130,7 +130,7 @@ public class JSONUtils { ...@@ -130,7 +130,7 @@ public class JSONUtils {
logger.error("parse list exception!", e); logger.error("parse list exception!", e);
} }
return new ArrayList<>(); return Collections.emptyList();
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册