diff --git a/src/main/java/org/apache/commons/lang3/reflect/MethodUtils.java b/src/main/java/org/apache/commons/lang3/reflect/MethodUtils.java index 1fae8bcad..f0b75c358 100644 --- a/src/main/java/org/apache/commons/lang3/reflect/MethodUtils.java +++ b/src/main/java/org/apache/commons/lang3/reflect/MethodUtils.java @@ -87,7 +87,7 @@ public class MethodUtils { && !ClassUtils.isAssignable(aClass, toClass, false)) { answer++; } else { - answer = answer + 2; + answer += 2; } }