Browse Source

Polish Javadoc for InjectionMetadata.forElements()

pull/26087/head
izeye 5 years ago committed by Juergen Hoeller
parent
commit
bc32d513d9
  1. 3
      spring-beans/src/main/java/org/springframework/beans/factory/annotation/InjectionMetadata.java

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

@ -141,8 +141,7 @@ public class InjectionMetadata { @@ -141,8 +141,7 @@ public class InjectionMetadata {
* Return an {@code InjectionMetadata} instance, possibly for empty elements.
* @param elements the elements to inject (possibly empty)
* @param clazz the target class
* @return a new {@link #InjectionMetadata(Class, Collection)} instance,
* or {@link #EMPTY} in case of no elements
* @return a new {@link #InjectionMetadata(Class, Collection)} instance
* @since 5.2
*/
public static InjectionMetadata forElements(Collection<InjectedElement> elements, Class<?> clazz) {

Loading…
Cancel
Save