We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 189cc26 commit 5976becCopy full SHA for 5976bec
org.springframework.core/src/main/java/org/springframework/core/convert/Property.java
@@ -131,7 +131,7 @@ private MethodParameter resolveMethodParameter() {
131
MethodParameter read = resolveReadMethodParameter();
132
MethodParameter write = resolveWriteMethodParameter();
133
if (read == null && write == null) {
134
- throw new IllegalStateException("Property is neither readable or writeable");
+ throw new IllegalStateException("Property is neither readable nor writeable");
135
}
136
if (read != null && write != null && !read.getParameterType().equals(write.getParameterType())) {
137
throw new IllegalStateException("Read and write parameter types are not the same");
0 commit comments