Skip to content

Commit a1d1e33

Browse files
author
章臣
committed
sample to test issue spring-attic#1580
1 parent 8d971a9 commit a1d1e33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

samples/class-proxies-aop/src/main/java/com/example/graalvmdemo/aspect/LoggableAspect.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public Object logAround(ProceedingJoinPoint joinPoint) throws Throwable {
2121
return joinPoint.proceed();
2222
}
2323

24-
@Pointcut("execution(* com.example.graalvmdemo.rest.PersonController.demo(..))")
24+
@Pointcut("execution(* com.example.graalvmdemo.rest.Person*.demo(..))")
2525
private void demoMethod() {
2626
}
2727

samples/class-proxies-aop/src/main/java/com/example/graalvmdemo/rest/PersonController2.java samples/class-proxies-aop/src/main/java/com/example/graalvmdemo/rest/PetController.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66

77
@RestController
8-
public class PersonController2 {
8+
public class PetController {
99

1010
@GetMapping(value="/without")
1111
String wemo() {

0 commit comments

Comments
 (0)