mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
Fix 参数类型不同且不为数组类型的断言报错
This commit is contained in:
parent
e5e6500116
commit
18e1e6c39b
@ -381,7 +381,8 @@ public class EqualsBuilder implements Builder<Boolean> {
|
||||
final Class<?> lhsClass = lhs.getClass();
|
||||
if (false == lhsClass.isArray()) {
|
||||
// The simple case, not an array, just test the element
|
||||
isEquals = lhs.equals(rhs);
|
||||
this.setEquals(lhs.equals(rhs));
|
||||
return this;
|
||||
}
|
||||
|
||||
// 判断数组的equals
|
||||
|
Loading…
x
Reference in New Issue
Block a user