From 07fde277991ed6fccc23c9398b552ded2c8cce5d Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Mon, 15 Jan 2024 09:13:00 -0500 Subject: [PATCH] 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; } }