Skip to content

Commit

Permalink
Merge pull request #2808 from atlanhq/startupTime
Browse files Browse the repository at this point in the history
Remove log.info as it is sync call
  • Loading branch information
aarshi0301 authored Jan 31, 2024
2 parents c5de096 + 68cbb09 commit f663234
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,7 @@ public class GraphTransactionAdvisor extends AbstractPointcutAdvisor {
private final StaticMethodMatcherPointcut pointcut = new StaticMethodMatcherPointcut() {
@Override
public boolean matches(Method method, Class<?> targetClass) {
boolean annotationPresent = method.isAnnotationPresent(GraphTransaction.class);
if (annotationPresent) {
LOG.info("GraphTransaction intercept for {}.{}", targetClass.getName(), method.getName());
}
return annotationPresent;
return method.isAnnotationPresent(GraphTransaction.class);
}
};

Expand Down

0 comments on commit f663234

Please sign in to comment.