【fix sonar】oConvertUtils文件
This commit is contained in:
+2
-3
@@ -2,7 +2,6 @@ package com.jero.common.util;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.io.IOUtils;
|
||||
import org.apache.poi.ss.formula.functions.T;
|
||||
import org.springframework.beans.BeanUtils;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
@@ -627,7 +626,7 @@ public class oConvertUtils {
|
||||
* list == null : true
|
||||
* list.size() == 0 : true
|
||||
*/
|
||||
public static boolean listIsEmpty(Collection<T> list) {
|
||||
public static boolean listIsEmpty(Collection<Map<String, Object>> list) {
|
||||
return (list == null || list.isEmpty());
|
||||
}
|
||||
|
||||
@@ -639,7 +638,7 @@ public class oConvertUtils {
|
||||
* list == null : false
|
||||
* list.size() == 0 : false
|
||||
*/
|
||||
public static boolean listIsNotEmpty(Collection<T> list) {
|
||||
public static boolean listIsNotEmpty(Collection<Map<String, Object>> list) {
|
||||
return !listIsEmpty(list);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user