Skip to content

Commit e31c07a

Browse files
Changed method name in Spring Aspect.
1 parent bd35805 commit e31c07a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎cdi/src/main/java/com/baeldung/spring/aspect/SpringTestAspect.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class SpringTestAspect {
1616
private List<String> accumulator;
1717

1818
@Around("execution(* com.baeldung.spring.service.SpringSuperService.*(..))")
19-
public Object advice(ProceedingJoinPoint jp) throws Throwable {
19+
public Object auditMethod(ProceedingJoinPoint jp) throws Throwable {
2020
String methodName = jp.getSignature().getName();
2121
accumulator.add("Call to "+methodName);
2222
Object obj = jp.proceed();

0 commit comments

Comments
 (0)