improve performance : excessive check removed (#1053)
* improve performance : excessive check removed
This commit is contained in:
committed by
Marcin Grzejszczak
parent
85761191d8
commit
100e7d14f8
@@ -105,7 +105,8 @@ class SleuthAdvisorConfig extends AbstractPointcutAdvisor implements BeanFactory
|
||||
|
||||
@Override
|
||||
public boolean matches(Method method, Class<?> targetClass, Object... args) {
|
||||
return getClassFilter().matches(targetClass);
|
||||
//Skip check here as actual check takes place in SleuthInterceptor.invoke(MethodInvocation)
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override public ClassFilter getClassFilter() {
|
||||
|
||||
Reference in New Issue
Block a user