Merge pull request #3267 from dragonflyings/v5-dev-1

Update CombinationAnnotationElement.java
This commit is contained in:
Golden Looly 2023-08-24 09:01:18 +08:00 committed by GitHub
commit e8d9bdf502
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -143,7 +143,7 @@ public class CombinationAnnotationElement implements AnnotatedElement, Serializa
annotationType = annotation.annotationType();
// issue#I5FQGW@Gitee跳过元注解和已经处理过的注解防止递归调用
if (AnnotationUtil.isNotJdkMateAnnotation(annotationType)
&& false == declaredAnnotationMap.containsKey(annotationType)) {
&& false == annotationMap.containsKey(annotationType)) {
if(test(annotation)){
annotationMap.put(annotationType, annotation);
}