mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix code
This commit is contained in:
parent
c72ae732b2
commit
7c11e5d025
@ -7,6 +7,7 @@
|
||||
|
||||
### 🐣新特性
|
||||
* 【db 】 优化Condition参数拆分(pr#2046@Github)
|
||||
* 【core 】 优化ArrayUtil.isAllEmpty性能(pr#2045@Github)
|
||||
|
||||
### 🐞Bug修复
|
||||
* 【http 】 HttpUtil重定向次数失效问题(issue#I4O28Q@Gitee)
|
||||
|
@ -1541,7 +1541,7 @@ public class ArrayUtil extends PrimitiveArrayUtil {
|
||||
*/
|
||||
public static boolean isAllEmpty(Object... args) {
|
||||
for (Object obj: args) {
|
||||
if (!ObjectUtil.isEmpty(obj)) {
|
||||
if (false == ObjectUtil.isEmpty(obj)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@ -1556,12 +1556,7 @@ public class ArrayUtil extends PrimitiveArrayUtil {
|
||||
* @since 4.5.18
|
||||
*/
|
||||
public static boolean isAllNotEmpty(Object... args) {
|
||||
for (Object obj: args) {
|
||||
if (ObjectUtil.isEmpty(obj)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
return false == hasEmpty(args);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user