mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-01 03:39:05 +00:00
Fix regression for nested AnnotationAttributes.annotationType() result
See gh-22738
This commit is contained in:
+1
-1
@@ -168,7 +168,7 @@ abstract class AbstractMergedAnnotation<A extends Annotation> implements MergedA
|
||||
|
||||
@Override
|
||||
public AnnotationAttributes asAnnotationAttributes(Adapt... adaptations) {
|
||||
return asMap(mergedAnnotation -> new AnnotationAttributes(getType()), adaptations);
|
||||
return asMap(mergedAnnotation -> new AnnotationAttributes(mergedAnnotation.getType()), adaptations);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user