Polish documentation format

Closes gh-24462
This commit is contained in:
Sam Brannen
2020-02-12 15:47:17 +01:00
parent da02b7a141
commit 4c1d227776
2 changed files with 4 additions and 6 deletions

View File

@@ -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

View File

@@ -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: