Polishing

See gh-26237
This commit is contained in:
Juergen Hoeller 2020-12-08 14:59:10 +01:00
parent 07fadae27d
commit 01fb4dbeba
1 changed files with 4 additions and 4 deletions

View File

@ -47,7 +47,7 @@ import org.springframework.util.StringUtils;
/** /**
* A powerful {@link PropertyAccessor} that uses reflection to access properties * A powerful {@link PropertyAccessor} that uses reflection to access properties
* for reading and possibly also for writing. * for reading and possibly also for writing on a target instance.
* *
* <p>A property can be referenced through a public getter method (when being read) * <p>A property can be referenced through a public getter method (when being read)
* or a public setter method (when being written), and also as a public field. * or a public setter method (when being written), and also as a public field.
@ -98,8 +98,8 @@ public class ReflectivePropertyAccessor implements PropertyAccessor {
} }
/** /**
* Create a new property accessor for reading and possibly writing. * Create a new property accessor for reading and possibly also writing.
* @param allowWrite whether to also allow for write operations * @param allowWrite whether to allow write operations on a target instance
* @since 4.3.15 * @since 4.3.15
* @see #canWrite * @see #canWrite
*/ */
@ -628,7 +628,7 @@ public class ReflectivePropertyAccessor implements PropertyAccessor {
@Override @Override
public String toString() { public String toString() {
return "CacheKey [clazz=" + this.clazz.getName() + ", property=" + this.property + return "PropertyCacheKey [clazz=" + this.clazz.getName() + ", property=" + this.property +
", targetIsClass=" + this.targetIsClass + "]"; ", targetIsClass=" + this.targetIsClass + "]";
} }