From 9d7f9b5284093668b3cb3abe1026909e16606c33 Mon Sep 17 00:00:00 2001 From: Niharika Tiwari <72014672+StellarStrategist@users.noreply.github.com> Date: Thu, 14 Sep 2023 21:15:03 +0530 Subject: [PATCH] =?UTF-8?q?Improve=20wording=20in=20Javadoc=20for=20@?= =?UTF-8?q?=E2=81=A0Autowired?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #31235 --- .../org/springframework/beans/factory/annotation/Autowired.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/annotation/Autowired.java b/spring-beans/src/main/java/org/springframework/beans/factory/annotation/Autowired.java index fad36ac5bf0..5bf71c2870c 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/annotation/Autowired.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/annotation/Autowired.java @@ -30,7 +30,7 @@ import java.lang.annotation.Target; *

Autowired Constructors

*

Only one constructor of any given bean class may declare this annotation with the * {@link #required} attribute set to {@code true}, indicating the constructor - * to autowire when used as a Spring bean. Furthermore, if the {@code required} + * to be autowired when used as a Spring bean. Furthermore, if the {@code required} * attribute is set to {@code true}, only a single constructor may be annotated * with {@code @Autowired}. If multiple non-required constructors declare the * annotation, they will be considered as candidates for autowiring. The constructor