mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
复用已存在方法
This commit is contained in:
parent
09ae727b81
commit
44a45a7d04
@ -217,7 +217,7 @@ public class ObjectUtil {
|
||||
*/
|
||||
public static boolean isNotNull(Object obj) {
|
||||
//noinspection ConstantConditions
|
||||
return null != obj && false == obj.equals(null);
|
||||
return false == isNull(obj);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user