improve performance : excessive check removed (#1053)

* improve performance : excessive check removed
This commit is contained in:
Sergii Karpenko
2018-08-10 15:32:40 +03:00
committed by Marcin Grzejszczak
parent 85761191d8
commit 100e7d14f8

View File

@@ -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() {