Reverse change committed erroneously

This commit is contained in:
Rossen Stoyanchev 2013-07-17 23:00:17 -04:00
parent 3e53725896
commit aa6f30482f
2 changed files with 2 additions and 2 deletions

View File

@ -206,7 +206,7 @@ public class HandlerMethod {
* @return the annotation, or {@code null} if none found
*/
public <A extends Annotation> A getMethodAnnotation(Class<A> annotationType) {
return AnnotationUtils.findAnnotation(this.bridgedMethod, annotationType);
return AnnotationUtils.findAnnotation(this.method, annotationType);
}
/**

View File

@ -206,7 +206,7 @@ public class HandlerMethod {
* @return the annotation, or {@code null} if none found
*/
public <A extends Annotation> A getMethodAnnotation(Class<A> annotationType) {
return AnnotationUtils.findAnnotation(this.bridgedMethod, annotationType);
return AnnotationUtils.findAnnotation(this.method, annotationType);
}
/**