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
master
Clément Plantier 11 years ago committed by Phillip Webb
parent 55f250afbc
commit 824ac535d2
  1. 2
      spring-expression/src/main/java/org/springframework/expression/spel/SpelMessage.java

@ -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}''"),

Loading…
Cancel
Save