Pre Merge pull request !1323 from 会飞的行李/v5-dev

This commit is contained in:
会飞的行李
2025-03-24 00:51:18 +00:00
committed by Gitee

View File

@@ -103,7 +103,7 @@ public class CombinationAnnotationElement implements AnnotatedElement, Serializa
parseDeclared(declaredAnnotations); parseDeclared(declaredAnnotations);
final Annotation[] annotations = element.getAnnotations(); final Annotation[] annotations = element.getAnnotations();
if (Arrays.equals(declaredAnnotations, annotations)) { if (declaredAnnotations.length == annotations.length) {
this.annotationMap = this.declaredAnnotationMap; this.annotationMap = this.declaredAnnotationMap;
} else { } else {
this.annotationMap = new TableMap<>(); this.annotationMap = new TableMap<>();