This is an automated email from the ASF dual-hosted git repository. pascalschumacher pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-lang.git
The following commit(s) were added to refs/heads/master by this push: new fe44a99 CompareToBuilder: Fix checkstyle violation. fe44a99 is described below commit fe44a99852719ff842ff5ce08b5a37d9b0a0d7fb Author: pascalschumacher <pascalschumac...@gmx.net> AuthorDate: Thu Dec 26 10:25:50 2019 +0100 CompareToBuilder: Fix checkstyle violation. --- src/main/java/org/apache/commons/lang3/builder/CompareToBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/lang3/builder/CompareToBuilder.java b/src/main/java/org/apache/commons/lang3/builder/CompareToBuilder.java index 03ca984..0988629 100644 --- a/src/main/java/org/apache/commons/lang3/builder/CompareToBuilder.java +++ b/src/main/java/org/apache/commons/lang3/builder/CompareToBuilder.java @@ -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();