Skip to content

Commit e9d5d68

Browse files
committed
Merge branch '6.1.x'
2 parents 4b58626 + c42778a commit e9d5d68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-context/src/main/java/org/springframework/validation/DefaultBindingErrorProcessor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public void processMissingFieldError(String missingField, BindingResult bindingR
6666

6767
@Override
6868
public void processPropertyAccessException(PropertyAccessException ex, BindingResult bindingResult) {
69-
// Create field error with the exceptions's code, e.g. "typeMismatch".
69+
// Create field error with the code of the exception, e.g. "typeMismatch".
7070
String field = ex.getPropertyName();
7171
Assert.state(field != null, "No field in exception");
7272
String[] codes = bindingResult.resolveMessageCodes(ex.getErrorCode(), field);

0 commit comments

Comments
 (0)