From 37e8aa76e9a97a71765b000c354766b5df2a01ea Mon Sep 17 00:00:00 2001 From: Sam Brannen <104798+sbrannen@users.noreply.github.com> Date: Tue, 10 Mar 2026 17:53:33 +0100 Subject: [PATCH] =?UTF-8?q?Use=20link=20for=20first=20reference=20to=20@?= =?UTF-8?q?=E2=81=A0Fallback=20in=20@=E2=81=A0Bean=20Javadoc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See gh-36439 --- .../java/org/springframework/context/annotation/Bean.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-context/src/main/java/org/springframework/context/annotation/Bean.java b/spring-context/src/main/java/org/springframework/context/annotation/Bean.java index c996c5d740e..f32df085292 100644 --- a/spring-context/src/main/java/org/springframework/context/annotation/Bean.java +++ b/spring-context/src/main/java/org/springframework/context/annotation/Bean.java @@ -82,8 +82,8 @@ import org.springframework.core.annotation.AliasFor; * through direct references, which is typically helpful for singleton startup. * {@code @Primary} is a mechanism to resolve ambiguity at the injection point level * if a single target component needs to be injected but several beans match by type. - * {@code @Fallback} marks a bean as a fallback candidate in such scenarios; if all - * beans but one among multiple matching candidates are marked as fallback, the + * {@link Fallback @Fallback} marks a bean as a fallback candidate in such scenarios; + * if all beans but one among multiple matching candidates are marked as fallback, the * remaining bean will be selected. * *
Additionally, {@code @Bean} methods may also declare qualifier annotations