mirror of
https://gitee.com/dromara/hutool.git
synced 2025-05-12 16:50:37 +08:00
针对issue->ObjectUtil.hasNull(Object... objs)在处理null时有bug修复
This commit is contained in:
parent
3cf00894fa
commit
0c3ef87647
@ -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 ArrayUtil.hasNull(objs);
|
return objs == null || ArrayUtil.hasNull(objs);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user