From 1a05ed236e23bf69b78cb59ba2dc9ca61e2cb3f3 Mon Sep 17 00:00:00 2001 From: Sam Brannen <104798+sbrannen@users.noreply.github.com> Date: Mon, 30 Mar 2026 16:59:57 +0200 Subject: [PATCH] Correct Javadoc for MergedAnnotation.asAnnotationAttributes() Closes gh-36567 (cherry picked from commit b7a1157e66185c0c39ad165cb5b8b2299efc3c03) --- .../org/springframework/core/annotation/MergedAnnotation.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-core/src/main/java/org/springframework/core/annotation/MergedAnnotation.java b/spring-core/src/main/java/org/springframework/core/annotation/MergedAnnotation.java index 1ce1a7bcb4b..e3c3f57d502 100644 --- a/spring-core/src/main/java/org/springframework/core/annotation/MergedAnnotation.java +++ b/spring-core/src/main/java/org/springframework/core/annotation/MergedAnnotation.java @@ -455,7 +455,8 @@ public interface MergedAnnotation { *

The {@linkplain Adapt adaptations} may be used to change the way that * values are added. * @param adaptations the adaptations that should be applied to the annotation values - * @return an immutable map containing the attributes and values + * @return a mutable {@code AnnotationAttributes} instance containing the attributes + * and values */ AnnotationAttributes asAnnotationAttributes(Adapt... adaptations);