From 5976beca801c09a0001f5101a1587d42c87cc817 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Sun, 5 Jun 2011 19:12:58 +0000 Subject: [PATCH] polishing --- .../main/java/org/springframework/core/convert/Property.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.springframework.core/src/main/java/org/springframework/core/convert/Property.java b/org.springframework.core/src/main/java/org/springframework/core/convert/Property.java index e350e4cb6d4..9ba74afffc4 100644 --- a/org.springframework.core/src/main/java/org/springframework/core/convert/Property.java +++ b/org.springframework.core/src/main/java/org/springframework/core/convert/Property.java @@ -131,7 +131,7 @@ public final class Property { MethodParameter read = resolveReadMethodParameter(); MethodParameter write = resolveWriteMethodParameter(); if (read == null && write == null) { - throw new IllegalStateException("Property is neither readable or writeable"); + throw new IllegalStateException("Property is neither readable nor writeable"); } if (read != null && write != null && !read.getParameterType().equals(write.getParameterType())) { throw new IllegalStateException("Read and write parameter types are not the same");