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 137de6c19ac..8fe99d0ede0 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 @@ -62,9 +62,9 @@ import java.lang.annotation.Target; * *

Multiple Arguments and 'required' Semantics

*

In the case of a multi-arg constructor or method, the {@link #required} attribute - * is applicable to all arguments. Individual parameters may be declared as Java-8 style - * {@link java.util.Optional} as well as {@code @Nullable} or a not-null parameter - * type in Kotlin, overriding the base 'required' semantics. + * is applicable to all arguments. Individual parameters may be declared as + * {@link java.util.Optional}, {@code @Nullable}, or a not-null parameter type in + * Kotlin, overriding the base 'required' semantics. * *

Autowiring Arrays, Collections, and Maps

*

In case of an array, {@link java.util.Collection}, or {@link java.util.Map}