Fix "Problem locating method" SpEL error message

Replace "Problem locating method {0} cannot on type {1}" with
"Problem locating method {0} on type {1}".

Issue: SPR-10928
This commit is contained in:
Clément Plantier
2013-09-20 09:39:24 +02:00
committed by Phillip Webb
parent 55f250afbc
commit 824ac535d2

View File

@@ -139,7 +139,7 @@ public enum SpelMessage {
"''{1}'' and ''{2}''"),
PROBLEM_LOCATING_METHOD(Kind.ERROR, 1031,
"Problem locating method {0} cannot on type {1}"),
"Problem locating method {0} on type {1}"),
SETVALUE_NOT_SUPPORTED( Kind.ERROR, 1032,
"setValue(ExpressionState, Object) not supported for ''{0}''"),