【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 lombok.extern.slf4j.Slf4j;
|
||||||
import org.apache.commons.io.IOUtils;
|
import org.apache.commons.io.IOUtils;
|
||||||
import org.apache.poi.ss.formula.functions.T;
|
|
||||||
import org.springframework.beans.BeanUtils;
|
import org.springframework.beans.BeanUtils;
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
@@ -627,7 +626,7 @@ public class oConvertUtils {
|
|||||||
* list == null : true
|
* list == null : true
|
||||||
* list.size() == 0 : 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());
|
return (list == null || list.isEmpty());
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -639,7 +638,7 @@ public class oConvertUtils {
|
|||||||
* list == null : false
|
* list == null : false
|
||||||
* list.size() == 0 : false
|
* list.size() == 0 : false
|
||||||
*/
|
*/
|
||||||
public static boolean listIsNotEmpty(Collection<T> list) {
|
public static boolean listIsNotEmpty(Collection<Map<String, Object>> list) {
|
||||||
return !listIsEmpty(list);
|
return !listIsEmpty(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user