Polish documentation format
Closes gh-24462
This commit is contained in:
@@ -1619,11 +1619,9 @@ the Spring Validation API, as the following example shows:
|
||||
|
||||
Each bean validation constraint consists of two parts:
|
||||
|
||||
* A `@Constraint` annotation
|
||||
that declares the constraint and its configurable properties.
|
||||
* An implementation
|
||||
of the `javax.validation.ConstraintValidator` interface that implements the constraint's
|
||||
behavior.
|
||||
* A `@Constraint` annotation that declares the constraint and its configurable properties.
|
||||
* An implementation of the `javax.validation.ConstraintValidator` interface that implements
|
||||
the constraint's behavior.
|
||||
|
||||
To associate a declaration with an implementation, each `@Constraint` annotation
|
||||
references a corresponding `ConstraintValidator` implementation class. At runtime, a
|
||||
|
||||
@@ -4251,7 +4251,7 @@ FormatterRegistrar implementations.
|
||||
By default, if <<core.adoc#validation-beanvalidation-overview, Bean Validation>> is present
|
||||
on the classpath (for example, Hibernate Validator), the `LocalValidatorFactoryBean` is
|
||||
registered as a global <<core.adoc#validator, Validator>> for use with `@Valid` and
|
||||
`Validated` on controller method arguments.
|
||||
`@Validated` on `@Controller` method arguments.
|
||||
|
||||
In Java configuration, you can customize the global `Validator` instance, as the
|
||||
following example shows:
|
||||
|
||||
Reference in New Issue
Block a user