Commit d989b9de authored by hongguangwu's avatar hongguangwu

&& !"".equals(obj)

parent 7db0c0b6
...@@ -63,7 +63,7 @@ public class Common { ...@@ -63,7 +63,7 @@ public class Common {
} }
public static boolean isNotNull(Object obj) { public static boolean isNotNull(Object obj) {
return null != obj; return null != obj && !"".equals(obj);
} }
public static boolean isNotEmpty(List obj) { public static boolean isNotEmpty(List obj) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment