Browse Source

Stop referring to "Java-8" features in documentation

See gh-36310
pull/36325/head
Sam Brannen 1 month ago
parent
commit
9a002a77b2
  1. 6
      spring-beans/src/main/java/org/springframework/beans/factory/annotation/Autowired.java

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

@ -62,9 +62,9 @@ import java.lang.annotation.Target; @@ -62,9 +62,9 @@ import java.lang.annotation.Target;
*
* <h3>Multiple Arguments and 'required' Semantics</h3>
* <p>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.
*
* <h3>Autowiring Arrays, Collections, and Maps</h3>
* <p>In case of an array, {@link java.util.Collection}, or {@link java.util.Map}

Loading…
Cancel
Save