Skip to content

Commit 9d7f9b5

Browse files
Improve wording in Javadoc for @⁠Autowired
#31235
1 parent 4746f58 commit 9d7f9b5

File tree

1 file changed

+1
-1
lines changed
  • spring-beans/src/main/java/org/springframework/beans/factory/annotation

1 file changed

+1
-1
lines changed

spring-beans/src/main/java/org/springframework/beans/factory/annotation/Autowired.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* <h3>Autowired Constructors</h3>
3131
* <p>Only one constructor of any given bean class may declare this annotation with the
3232
* {@link #required} attribute set to {@code true}, indicating <i>the</i> constructor
33-
* to autowire when used as a Spring bean. Furthermore, if the {@code required}
33+
* to be autowired when used as a Spring bean. Furthermore, if the {@code required}
3434
* attribute is set to {@code true}, only a single constructor may be annotated
3535
* with {@code @Autowired}. If multiple <i>non-required</i> constructors declare the
3636
* annotation, they will be considered as candidates for autowiring. The constructor

0 commit comments

Comments
 (0)