mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
针对issue->ObjectUtil.hasNull(Object... objs)在处理null时有bug修复
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user