Skip to content

Commit

Permalink
HV-1829 Remove mentions of the ConstraintDefinitionContributor from t…
Browse files Browse the repository at this point in the history
…he docs
  • Loading branch information
marko-bekhta committed Dec 12, 2024
1 parent 8733523 commit bb039fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions documentation/src/main/asciidoc/ch12.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -780,8 +780,8 @@ configuring the default validator factory using _META-INF/validation.xml_ (see
One use case for registering constraint definitions through the programmatic API is the ability to specify an alternative
constraint validator for the `@URL` constraint. Historically, Hibernate Validator's default constraint
validator for this constraint uses the `java.net.URL` constructor to validate an URL.
However, there is also a purely regular expression based version available which can be configured using
a `ConstraintDefinitionContributor`:
However, there is also a purely regular expression based version available, which can be configured using
the programmatic constraint declaration API:
.Using the programmatic constraint declaration API to register a regular expression based constraint definition for `@URL`
[source, JAVA, indent=0]
Expand Down

0 comments on commit bb039fd

Please sign in to comment.