Skip to content

Commit

Permalink
Polish "Fix typo in comment"
Browse files Browse the repository at this point in the history
  • Loading branch information
snicoll committed Jun 16, 2024
1 parent 12cf654 commit f140df8
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 exception'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 f140df8

Please sign in to comment.