Skip to content

Commit 5976bec

Browse files
committed
polishing
1 parent 189cc26 commit 5976bec

File tree

1 file changed

+1
-1
lines changed
  • org.springframework.core/src/main/java/org/springframework/core/convert

1 file changed

+1
-1
lines changed

org.springframework.core/src/main/java/org/springframework/core/convert/Property.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ private MethodParameter resolveMethodParameter() {
131131
MethodParameter read = resolveReadMethodParameter();
132132
MethodParameter write = resolveWriteMethodParameter();
133133
if (read == null && write == null) {
134-
throw new IllegalStateException("Property is neither readable or writeable");
134+
throw new IllegalStateException("Property is neither readable nor writeable");
135135
}
136136
if (read != null && write != null && !read.getParameterType().equals(write.getParameterType())) {
137137
throw new IllegalStateException("Read and write parameter types are not the same");

0 commit comments

Comments
 (0)