From 7b3cce5998cf5724eb97b94241e1e99c637623ee Mon Sep 17 00:00:00 2001 From: marko-bekhta Date: Tue, 10 Dec 2024 13:07:33 +0100 Subject: [PATCH] HV-1829 Remove mentions of the ConstraintDefinitionContributor from the docs --- documentation/src/main/asciidoc/ch12.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/src/main/asciidoc/ch12.asciidoc b/documentation/src/main/asciidoc/ch12.asciidoc index d6141bdaf..3fc531cbb 100644 --- a/documentation/src/main/asciidoc/ch12.asciidoc +++ b/documentation/src/main/asciidoc/ch12.asciidoc @@ -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]