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

This commit is contained in:
会飞的行李 2025-03-20 15:55:38 +00:00 committed by Gitee
commit 72fcae7aac
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

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