mirror of
https://gitee.com/dromara/hutool.git
synced 2025-06-28 13:34:09 +08:00
Update CombinationAnnotationElement.java
false == declaredAnnotationMap.containsKey(annotationType)用的变量declaredAnnotationMap不对,此处应该用annotationMap。
This commit is contained in:
parent
713832e5fe
commit
cfc9ef80ed
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user