Use final.
This commit is contained in:
parent
44b0bb5273
commit
31ede5565b
|
@ -755,7 +755,7 @@ public class MethodUtils {
|
||||||
.filter(method -> method.getName().equals(methodName))
|
.filter(method -> method.getName().equals(methodName))
|
||||||
.forEach(methods::add);
|
.forEach(methods::add);
|
||||||
|
|
||||||
for (Method method : methods) {
|
for (final Method method : methods) {
|
||||||
if (Arrays.deepEquals(method.getParameterTypes(), parameterTypes)) {
|
if (Arrays.deepEquals(method.getParameterTypes(), parameterTypes)) {
|
||||||
return method;
|
return method;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue