Skip to content

Commit 3ac46da

Browse files
committed
Correct description for doWithLocalFields
Issue: SPR-16658
1 parent 82cb5db commit 3ac46da

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spring-core/src/main/java/org/springframework/util/ReflectionUtils.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -679,8 +679,7 @@ private static List<Method> findConcreteMethodsOnInterfaces(Class<?> clazz) {
679679
}
680680

681681
/**
682-
* Invoke the given callback on all fields in the target class, going up the
683-
* class hierarchy to get all declared fields.
682+
* Invoke the given callback on all locally declared fields in the given class.
684683
* @param clazz the target class to analyze
685684
* @param fc the callback to invoke for each field
686685
* @since 4.2

0 commit comments

Comments
 (0)