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
commit 31ede5565bf19df016b945849d19d18304bfc6e4 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Tue Dec 22 16:07:02 2020 -0500 Use final. --- 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 68c2541..7b1a476 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; }