Browse Source

Fix typo in Bean Validation section of reference manual

This commit fixes a minor typo in  the "Java Bean Validation - Customizing
Validation Errors" section of the reference manual.

Closes gh-34686

Signed-off-by: Tobias Hänel <contact@tobias-haenel.de>
pull/34732/head
Tobias Hänel 9 months ago committed by Sam Brannen
parent
commit
f8a3077da9
  1. 2
      framework-docs/modules/ROOT/pages/core/validation/beanvalidation.adoc

2
framework-docs/modules/ROOT/pages/core/validation/beanvalidation.adoc

@ -399,7 +399,7 @@ A `ConstraintViolation` on the `degrees` method parameter is adapted to a
`MessageSourceResolvable` with the following: `MessageSourceResolvable` with the following:
- Error codes `"Max.myService#addStudent.degrees"`, `"Max.degrees"`, `"Max.int"`, `"Max"` - Error codes `"Max.myService#addStudent.degrees"`, `"Max.degrees"`, `"Max.int"`, `"Max"`
- Message arguments "degrees2 and 2 (the field name and the constraint attribute) - Message arguments "degrees" and 2 (the field name and the constraint attribute)
- Default message "must be less than or equal to 2" - Default message "must be less than or equal to 2"
To customize the above default message, you can add a property such as: To customize the above default message, you can add a property such as:

Loading…
Cancel
Save