From 3677d3597bba0acaebaeb1abd479da3bf28631ef Mon Sep 17 00:00:00 2001 From: AlexElin Date: Thu, 16 Feb 2023 09:23:52 +0000 Subject: [PATCH] Improve `@Lazy`'s javadoc by adding @code tag --- .../main/java/org/springframework/context/annotation/Lazy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-context/src/main/java/org/springframework/context/annotation/Lazy.java b/spring-context/src/main/java/org/springframework/context/annotation/Lazy.java index 2a5a6092271..8f83c71eda4 100644 --- a/spring-context/src/main/java/org/springframework/context/annotation/Lazy.java +++ b/spring-context/src/main/java/org/springframework/context/annotation/Lazy.java @@ -38,7 +38,7 @@ import java.lang.annotation.Target; * *

If Lazy is present on a {@link Configuration @Configuration} class, this * indicates that all {@code @Bean} methods within that {@code @Configuration} - * should be lazily initialized. If {@code @Lazy} is present and false on a {@code @Bean} + * should be lazily initialized. If {@code @Lazy} is present and {@code false} on a {@code @Bean} * method within a {@code @Lazy}-annotated {@code @Configuration} class, this indicates * overriding the 'default lazy' behavior and that the bean should be eagerly initialized. *