Skip to content

Commit a63c5ad

Browse files
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 <[email protected]>
1 parent 551f6c0 commit a63c5ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: framework-docs/modules/ROOT/pages/core/validation/beanvalidation.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ A `ConstraintViolation` on the `degrees` method parameter is adapted to a
399399
`MessageSourceResolvable` with the following:
400400

401401
- Error codes `"Max.myService#addStudent.degrees"`, `"Max.degrees"`, `"Max.int"`, `"Max"`
402-
- Message arguments "degrees2 and 2 (the field name and the constraint attribute)
402+
- Message arguments "degrees" and 2 (the field name and the constraint attribute)
403403
- Default message "must be less than or equal to 2"
404404

405405
To customize the above default message, you can add a property such as:

0 commit comments

Comments
 (0)