Remove redundant syntax

This commit is contained in:
Gary Gregory 2024-09-12 10:14:58 -04:00
parent 2f8cc86f3a
commit 4654e093bf
1 changed files with 2 additions and 2 deletions

View File

@ -412,11 +412,11 @@ public class EqualsBuilder implements Builder<Boolean> {
return this;
}
if (lhs == null || rhs == null) {
this.setEquals(false);
setEquals(false);
return this;
}
if (lhs.length != rhs.length) {
this.setEquals(false);
setEquals(false);
return this;
}
for (int i = 0; i < lhs.length && isEquals; ++i) {