Polish documentation format

See gh-24460
This commit is contained in:
Christoph Dreis
2020-01-30 14:17:22 +01:00
committed by Stephane Nicoll
parent 547342b27d
commit 15b651cdfe
2 changed files with 2 additions and 1 deletions

View File

@@ -1971,6 +1971,7 @@ requires the Spring Validation API, as the following example shows:
==== Configuring Custom Constraints
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.

View File

@@ -3737,7 +3737,7 @@ use `FormatterRegistrar` implementations.
By default, if <<core.adoc#validation-beanvalidation-overview, Bean Validation>> is present
on the classpath (for example, the 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 your Java configuration, you can customize the global `Validator` instance,
as the following example shows: