Skip to content

Commit bc32d51

Browse files
izeyejhoeller
authored andcommitted
Polish Javadoc for InjectionMetadata.forElements()
1 parent 3851b29 commit bc32d51

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,7 @@ public void clear(@Nullable PropertyValues pvs) {
141141
* Return an {@code InjectionMetadata} instance, possibly for empty elements.
142142
* @param elements the elements to inject (possibly empty)
143143
* @param clazz the target class
144-
* @return a new {@link #InjectionMetadata(Class, Collection)} instance,
145-
* or {@link #EMPTY} in case of no elements
144+
* @return a new {@link #InjectionMetadata(Class, Collection)} instance
146145
* @since 5.2
147146
*/
148147
public static InjectionMetadata forElements(Collection<InjectedElement> elements, Class<?> clazz) {

0 commit comments

Comments
 (0)