CompareToBuilder: Fix checkstyle violation.
This commit is contained in:
parent
3744263970
commit
fe44a99852
|
@ -285,7 +285,7 @@ public class CompareToBuilder implements Builder<Integer> {
|
|||
}
|
||||
Objects.requireNonNull(lhs, "lhs");
|
||||
Objects.requireNonNull(rhs, "rhs");
|
||||
|
||||
|
||||
Class<?> lhsClazz = lhs.getClass();
|
||||
if (!lhsClazz.isInstance(rhs)) {
|
||||
throw new ClassCastException();
|
||||
|
|
Loading…
Reference in New Issue