Skip to content

Commit aa6f304

Browse files
committed
Reverse change committed erroneously
1 parent 3e53725 commit aa6f304

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-messaging/src/main/java/org/springframework/messaging/handler/method/HandlerMethod.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public boolean isVoid() {
206206
* @return the annotation, or {@code null} if none found
207207
*/
208208
public <A extends Annotation> A getMethodAnnotation(Class<A> annotationType) {
209-
return AnnotationUtils.findAnnotation(this.bridgedMethod, annotationType);
209+
return AnnotationUtils.findAnnotation(this.method, annotationType);
210210
}
211211

212212
/**

spring-web/src/main/java/org/springframework/web/method/HandlerMethod.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public boolean isVoid() {
206206
* @return the annotation, or {@code null} if none found
207207
*/
208208
public <A extends Annotation> A getMethodAnnotation(Class<A> annotationType) {
209-
return AnnotationUtils.findAnnotation(this.bridgedMethod, annotationType);
209+
return AnnotationUtils.findAnnotation(this.method, annotationType);
210210
}
211211

212212
/**

0 commit comments

Comments
 (0)