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 68c2541c2..7b1a476af 100644 --- a/src/main/java/org/apache/commons/lang3/reflect/MethodUtils.java +++ b/src/main/java/org/apache/commons/lang3/reflect/MethodUtils.java @@ -755,7 +755,7 @@ public class MethodUtils { .filter(method -> method.getName().equals(methodName)) .forEach(methods::add); - for (Method method : methods) { + for (final Method method : methods) { if (Arrays.deepEquals(method.getParameterTypes(), parameterTypes)) { return method; }