mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
针对issue->ObjectUtil.hasNull(Object... objs)在处理null时有bug修复
This commit is contained in:
parent
0c3ef87647
commit
3c19a939f0
@ -122,7 +122,7 @@ public class ArrayUtil extends PrimitiveArrayUtil {
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
return array == null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -625,7 +625,7 @@ public class ObjectUtil {
|
||||
* @see ArrayUtil#hasNull(Object[])
|
||||
*/
|
||||
public static boolean hasNull(Object... objs) {
|
||||
return objs == null || ArrayUtil.hasNull(objs);
|
||||
return ArrayUtil.hasNull(objs);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user