Skip to content

Commit

Permalink
Merge pull request #33036 from tafjwr
Browse files Browse the repository at this point in the history
* pr/33036:
  Polish "Fix typo in comment"
  Fix typo in comment

Closes gh-33036
  • Loading branch information
snicoll committed Jun 16, 2024
2 parents 089e4e6 + f140df8 commit c42778a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public void processMissingFieldError(String missingField, BindingResult bindingR

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

0 comments on commit c42778a

Please sign in to comment.