Browse Source

Correct description for doWithLocalFields

Issue: SPR-16658

(cherry picked from commit 3ac46da)
pull/1775/head
Juergen Hoeller 8 years ago
parent
commit
618cb6155c
  1. 5
      spring-core/src/main/java/org/springframework/util/ReflectionUtils.java

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

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2017 the original author or authors. * Copyright 2002-2018 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -645,8 +645,7 @@ public abstract class ReflectionUtils {
} }
/** /**
* Invoke the given callback on all fields in the target class, going up the * Invoke the given callback on all locally declared fields in the given class.
* class hierarchy to get all declared fields.
* @param clazz the target class to analyze * @param clazz the target class to analyze
* @param fc the callback to invoke for each field * @param fc the callback to invoke for each field
* @since 4.2 * @since 4.2

Loading…
Cancel
Save