Skip to content

Commit

Permalink
Remove duplicate "property" in PropertyCacheKey.toString()
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoeller authored and zx20110729 committed Feb 18, 2022
1 parent ee1c733 commit d03a50c
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

/**
* 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)
* or a public setter method (when being written), and also as a public field.
Expand Down Expand Up @@ -98,8 +98,8 @@ public ReflectivePropertyAccessor() {
}

/**
* Create a new property accessor for reading and possibly writing.
* @param allowWrite whether to also allow for write operations
* Create a new property accessor for reading and possibly also writing.
* @param allowWrite whether to allow write operations on a target instance
* @since 4.3.15
* @see #canWrite
*/
Expand Down Expand Up @@ -623,8 +623,8 @@ public int hashCode() {

@Override
public String toString() {
return "CacheKey [clazz=" + this.clazz.getName() + ", property=" + this.property + ", " +
this.property + ", targetIsClass=" + this.targetIsClass + "]";
return "PropertyCacheKey [clazz=" + this.clazz.getName() + ", property=" + this.property +
", targetIsClass=" + this.targetIsClass + "]";
}

@Override
Expand Down

0 comments on commit d03a50c

Please sign in to comment.