Merge branch '5.8.x'
This commit is contained in:
@@ -148,7 +148,7 @@ public class WithSecurityContextTestExecutionListener extends AbstractTestExecut
|
||||
}
|
||||
|
||||
private Annotation findAnnotation(AnnotatedElement annotated, Class<? extends Annotation> type) {
|
||||
Annotation findAnnotation = AnnotationUtils.findAnnotation(annotated, type);
|
||||
Annotation findAnnotation = AnnotatedElementUtils.findMergedAnnotation(annotated, type);
|
||||
if (findAnnotation != null) {
|
||||
return findAnnotation;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user