Make the write*Field impl match its in-line comment and not rely on the default behavior of writeField(field,target,value).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562978 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fc41d6bb88
commit
fd3057092d
|
@ -784,6 +784,6 @@ public class FieldUtils {
|
|||
final Field field = getDeclaredField(cls, fieldName, forceAccess);
|
||||
Validate.isTrue(field != null, "Cannot locate declared field %s.%s", cls.getName(), fieldName);
|
||||
// already forced access above, don't repeat it here:
|
||||
writeField(field, target, value);
|
||||
writeField(field, target, value, false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue