Add fast path for ClassUtils.hasMethod()
This commit is contained in:
committed by
Juergen Hoeller
parent
c562c3a0b3
commit
8e5cad2af3
@@ -365,7 +365,7 @@ class CglibAopProxy implements AopProxy, Serializable {
|
||||
*/
|
||||
private static boolean implementsInterface(Method method, Set<Class<?>> ifcs) {
|
||||
for (Class<?> ifc : ifcs) {
|
||||
if (ClassUtils.hasMethod(ifc, method.getName(), method.getParameterTypes())) {
|
||||
if (ClassUtils.hasMethod(ifc, method)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user