Skip to content

Commit 01fb4db

Browse files
committed
Polishing
See gh-26237
1 parent 07fadae commit 01fb4db

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spring-expression/src/main/java/org/springframework/expression/spel/support/ReflectivePropertyAccessor.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848
/**
4949
* A powerful {@link PropertyAccessor} that uses reflection to access properties
50-
* for reading and possibly also for writing.
50+
* for reading and possibly also for writing on a target instance.
5151
*
5252
* <p>A property can be referenced through a public getter method (when being read)
5353
* or a public setter method (when being written), and also as a public field.
@@ -98,8 +98,8 @@ public ReflectivePropertyAccessor() {
9898
}
9999

100100
/**
101-
* Create a new property accessor for reading and possibly writing.
102-
* @param allowWrite whether to also allow for write operations
101+
* Create a new property accessor for reading and possibly also writing.
102+
* @param allowWrite whether to allow write operations on a target instance
103103
* @since 4.3.15
104104
* @see #canWrite
105105
*/
@@ -628,7 +628,7 @@ public int hashCode() {
628628

629629
@Override
630630
public String toString() {
631-
return "CacheKey [clazz=" + this.clazz.getName() + ", property=" + this.property +
631+
return "PropertyCacheKey [clazz=" + this.clazz.getName() + ", property=" + this.property +
632632
", targetIsClass=" + this.targetIsClass + "]";
633633
}
634634

0 commit comments

Comments
 (0)