This commit is contained in:
Marcin Grzejszczak
2019-07-02 10:18:51 +02:00
parent df0292ce19
commit 33d9f39e25

View File

@@ -277,7 +277,7 @@ class ExecutorBeanPostProcessor implements BeanPostProcessor {
}
private static <T> boolean anyFinalMethods(T object, Class<T> iface) {
for (Method method : ReflectionUtils.getAllDeclaredMethods(iface)) {
for (Method method : ReflectionUtils.getDeclaredMethods(iface)) {
Method m = ReflectionUtils.findMethod(object.getClass(), method.getName(),
method.getParameterTypes());
if (m != null && Modifier.isFinal(m.getModifiers())) {