Skip to content

Commit 618cb61

Browse files
committed
Correct description for doWithLocalFields
Issue: SPR-16658 (cherry picked from commit 3ac46da)
1 parent f3dd22d commit 618cb61

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2017 the original author or authors.
2+
* Copyright 2002-2018 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -645,8 +645,7 @@ private static List<Method> findConcreteMethodsOnInterfaces(Class<?> clazz) {
645645
}
646646

647647
/**
648-
* Invoke the given callback on all fields in the target class, going up the
649-
* class hierarchy to get all declared fields.
648+
* Invoke the given callback on all locally declared fields in the given class.
650649
* @param clazz the target class to analyze
651650
* @param fc the callback to invoke for each field
652651
* @since 4.2

0 commit comments

Comments
 (0)