Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HV-1829 Remove mentions of the ConstraintDefinitionContributor from the docs #1514

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading