针对issue->ObjectUtil.hasNull(Object... objs)在处理null时有bug修复

This commit is contained in:
jiazhengquan 2022-03-03 14:26:41 +08:00
parent 0c3ef87647
commit 3c19a939f0
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ public class ArrayUtil extends PrimitiveArrayUtil {
} }
} }
} }
return false; return array == null;
} }
/** /**

View File

@ -625,7 +625,7 @@ public class ObjectUtil {
* @see ArrayUtil#hasNull(Object[]) * @see ArrayUtil#hasNull(Object[])
*/ */
public static boolean hasNull(Object... objs) { public static boolean hasNull(Object... objs) {
return objs == null || ArrayUtil.hasNull(objs); return ArrayUtil.hasNull(objs);
} }
/** /**