Skip to content

Commit 4c1d227

Browse files
committed
Polish documentation format
Closes gh-24462
1 parent da02b7a commit 4c1d227

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/docs/asciidoc/core/core-validation.adoc

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,11 +1619,9 @@ the Spring Validation API, as the following example shows:
16191619

16201620
Each bean validation constraint consists of two parts:
16211621

1622-
* A `@Constraint` annotation
1623-
that declares the constraint and its configurable properties.
1624-
* An implementation
1625-
of the `javax.validation.ConstraintValidator` interface that implements the constraint's
1626-
behavior.
1622+
* A `@Constraint` annotation that declares the constraint and its configurable properties.
1623+
* An implementation of the `javax.validation.ConstraintValidator` interface that implements
1624+
the constraint's behavior.
16271625

16281626
To associate a declaration with an implementation, each `@Constraint` annotation
16291627
references a corresponding `ConstraintValidator` implementation class. At runtime, a

src/docs/asciidoc/web/webmvc.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4251,7 +4251,7 @@ FormatterRegistrar implementations.
42514251
By default, if <<core.adoc#validation-beanvalidation-overview, Bean Validation>> is present
42524252
on the classpath (for example, Hibernate Validator), the `LocalValidatorFactoryBean` is
42534253
registered as a global <<core.adoc#validator, Validator>> for use with `@Valid` and
4254-
`Validated` on controller method arguments.
4254+
`@Validated` on `@Controller` method arguments.
42554255

42564256
In Java configuration, you can customize the global `Validator` instance, as the
42574257
following example shows:

0 commit comments

Comments
 (0)