File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
documentation/src/main/asciidoc Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -780,8 +780,8 @@ configuring the default validator factory using _META-INF/validation.xml_ (see
780
780
One use case for registering constraint definitions through the programmatic API is the ability to specify an alternative
781
781
constraint validator for the `@URL` constraint. Historically, Hibernate Validator's default constraint
782
782
validator for this constraint uses the `java.net.URL` constructor to validate an URL.
783
- However, there is also a purely regular expression based version available which can be configured using
784
- a `ConstraintDefinitionContributor` :
783
+ However, there is also a purely regular expression based version available, which can be configured using
784
+ the programmatic constraint declaration API :
785
785
786
786
.Using the programmatic constraint declaration API to register a regular expression based constraint definition for `@URL`
787
787
[source, JAVA, indent=0]
You can’t perform that action at this time.
0 commit comments