This is an automated email from the ASF dual-hosted git repository.
ggregory 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 07fde2779 Use +=
07fde2779 is described below
commit 07fde277991ed6fccc23c9398b552ded2c8cce5d
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Jan 15 09:13:00 2024 -0500
Use +=
---
src/main/java/org/apache/commons/lang3/reflect/MethodUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
}
}