From 618cb6155c073df24263f28103c3e130526c1931 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Thu, 29 Mar 2018 15:42:30 +0200 Subject: [PATCH] Correct description for doWithLocalFields Issue: SPR-16658 (cherry picked from commit 3ac46da) --- .../main/java/org/springframework/util/ReflectionUtils.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/spring-core/src/main/java/org/springframework/util/ReflectionUtils.java b/spring-core/src/main/java/org/springframework/util/ReflectionUtils.java index 04f3e020b5b..a43d016b08e 100644 --- a/spring-core/src/main/java/org/springframework/util/ReflectionUtils.java +++ b/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"); * 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 - * class hierarchy to get all declared fields. + * Invoke the given callback on all locally declared fields in the given class. * @param clazz the target class to analyze * @param fc the callback to invoke for each field * @since 4.2