diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 488c6f94d1..e4c9517008 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -59,14 +59,33 @@ Code away... ## Formatting rules and style conventions -The Hibernate family projects share the same style conventions. You can download the appropriate configuration -files for your IDE from [the IDE codestyles GitHub repository](https://github.com/hibernate/hibernate-ide-codestyles). +The project build comes with preconfigured plugins that apply automatic formatting/sorting of imports and +a set of other checks. Running a simple build should automatically apply all the formatting rules and checks: -You can very quickly check that you have respected the formatting rules by running Checkstyle: ```shell -mvn checkstyle:check +mvn clean verify ``` +Alternatively, if only applying the formatting is required, you could run the next command: + +```shell +mvn spotless:apply checkstyle:check +``` + +--- +**NOTE**: running the above command requires the `org.hibernate.validator:hibernate-validator-build-config` +being available. If it is a first time building the project you may need to execute: +```shell +mvn clean install -am -pl build/build-config +``` +--- + +The project comes with formatting files located in: +- [hibernate_validator_style.xml](build/build-config/src/main/resources/hibernate_validator_style.xml) +- [hibernate_validator_style.importorder](build/build-config/src/main/resources/hibernate_validator_style.importorder) + +These files can be used in the IDE if applying formatting as-you-code within the IDE is something you'd prefer. + ## Commit * Make commits of logical units. diff --git a/annotation-processor/pom.xml b/annotation-processor/pom.xml index f05315a2c5..c99d3eb961 100644 --- a/annotation-processor/pom.xml +++ b/annotation-processor/pom.xml @@ -83,14 +83,6 @@ none - - org.apache.maven.plugins - maven-checkstyle-plugin - - - de.thetaphi - forbiddenapis - maven-jar-plugin diff --git a/annotation-processor/src/main/java/org/hibernate/validator/ap/internal/AbstractElementVisitor.java b/annotation-processor/src/main/java/org/hibernate/validator/ap/internal/AbstractElementVisitor.java index 04f971db0d..58a721db68 100644 --- a/annotation-processor/src/main/java/org/hibernate/validator/ap/internal/AbstractElementVisitor.java +++ b/annotation-processor/src/main/java/org/hibernate/validator/ap/internal/AbstractElementVisitor.java @@ -62,4 +62,3 @@ else if ( issue.isWarning() ) { messager.reportWarnings( warnings ); } } - diff --git a/annotation-processor/src/main/java/org/hibernate/validator/ap/internal/checks/GetterCheck.java b/annotation-processor/src/main/java/org/hibernate/validator/ap/internal/checks/GetterCheck.java index 0c89a527d4..bea7fe32f3 100644 --- a/annotation-processor/src/main/java/org/hibernate/validator/ap/internal/checks/GetterCheck.java +++ b/annotation-processor/src/main/java/org/hibernate/validator/ap/internal/checks/GetterCheck.java @@ -63,4 +63,3 @@ private boolean isJavaBeanGetterName(String methodName) { } } - diff --git a/annotation-processor/src/test/java/org/hibernate/validator/ap/testmodel/overriding/MethodOverridingTests.java b/annotation-processor/src/test/java/org/hibernate/validator/ap/testmodel/overriding/MethodOverridingTests.java index df6e264d47..ddb099f2d8 100644 --- a/annotation-processor/src/test/java/org/hibernate/validator/ap/testmodel/overriding/MethodOverridingTests.java +++ b/annotation-processor/src/test/java/org/hibernate/validator/ap/testmodel/overriding/MethodOverridingTests.java @@ -475,4 +475,3 @@ public boolean someMethod(String someParameter) { } } } - diff --git a/build/build-config/pom.xml b/build/build-config/pom.xml index 8b963569c7..63113f1b7e 100644 --- a/build/build-config/pom.xml +++ b/build/build-config/pom.xml @@ -28,21 +28,6 @@ - - maven-checkstyle-plugin - - - maven-deploy-plugin - - true - - - - maven-gpg-plugin - - true - - org.apache.maven.plugins maven-enforcer-plugin diff --git a/build/build-config/src/main/assembly/dependencies-javadoc-packagelists.xml b/build/build-config/src/main/assembly/dependencies-javadoc-packagelists.xml index 093ecd4cbf..dab0ce7ac6 100644 --- a/build/build-config/src/main/assembly/dependencies-javadoc-packagelists.xml +++ b/build/build-config/src/main/assembly/dependencies-javadoc-packagelists.xml @@ -1,25 +1,25 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> - dependencies-javadoc-packagelists - - zip - + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd"> + dependencies-javadoc-packagelists + + zip + - false - / + false + / - - - target/dependencies-javadoc-packagelists - . - - + + + target/dependencies-javadoc-packagelists + . + + diff --git a/build/build-config/src/main/resources/checkstyle.xml b/build/build-config/src/main/resources/checkstyle.xml index 6bd7ebe9a0..79f8a3ffdd 100644 --- a/build/build-config/src/main/resources/checkstyle.xml +++ b/build/build-config/src/main/resources/checkstyle.xml @@ -1,145 +1,61 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + "http://checkstyle.sourceforge.net/dtds/configuration_1_3.dtd"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build/build-config/src/main/resources/hibernate_validator_style.importorder b/build/build-config/src/main/resources/hibernate_validator_style.importorder new file mode 100644 index 0000000000..ab2d1124ba --- /dev/null +++ b/build/build-config/src/main/resources/hibernate_validator_style.importorder @@ -0,0 +1,16 @@ +#Organize Import Order +# Import this file in Window -> Preferences -> Java -> Code Style -> Organize Imports -> Import... +# java,javax,jakarta,org.openjdk.jmh,org.hibernate,org.hibernate.testing,org.hibernate.test,org.junit,org.jboss,com,javafx.beans +0=\# +1=java +2=javax +3=jakarta +4=org.openjdk.jmh +5=org.hibernate +6=org.hibernate.testing +7=org.hibernate.test +8=org.junit +9=org.jboss +10=com +11=javafx.beans +12= diff --git a/build/build-config/src/main/resources/hibernate_validator_style.xml b/build/build-config/src/main/resources/hibernate_validator_style.xml index 4200b6194e..48b8f6cf65 100644 --- a/build/build-config/src/main/resources/hibernate_validator_style.xml +++ b/build/build-config/src/main/resources/hibernate_validator_style.xml @@ -1,406 +1,406 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build/build-config/src/main/resources/java-header-style.xml b/build/build-config/src/main/resources/java-header-style.xml deleted file mode 100644 index 0f5ef2474f..0000000000 --- a/build/build-config/src/main/resources/java-header-style.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - /* - * - */ - - - (\s|\t)*/\*.*$ - .*\*/(\s|\t)*$ - false - true - false - - diff --git a/build/build-config/src/main/resources/license.java.header b/build/build-config/src/main/resources/license.java.header new file mode 100644 index 0000000000..210c952b49 --- /dev/null +++ b/build/build-config/src/main/resources/license.java.header @@ -0,0 +1,6 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ diff --git a/build/build-config/src/main/resources/license.xml.header b/build/build-config/src/main/resources/license.xml.header new file mode 100644 index 0000000000..f33a46e968 --- /dev/null +++ b/build/build-config/src/main/resources/license.xml.header @@ -0,0 +1,6 @@ + diff --git a/build/build-config/src/main/resources/suppressions.xml b/build/build-config/src/main/resources/suppressions.xml index a2f032f5ea..b83fd84504 100644 --- a/build/build-config/src/main/resources/suppressions.xml +++ b/build/build-config/src/main/resources/suppressions.xml @@ -1,17 +1,17 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + "-//Puppy Crawl//DTD Suppressions 1.1//EN" + "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd"> - - - - - + + + + + diff --git a/build/build-config/src/main/resources/xml-header-style.xml b/build/build-config/src/main/resources/xml-header-style.xml deleted file mode 100644 index 8aca76eaa6..0000000000 --- a/build/build-config/src/main/resources/xml-header-style.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - ~ - ]]> - - $]]> - - (\s|\t)*$]]> - false - true - false - - diff --git a/cdi/pom.xml b/cdi/pom.xml index b3ca5deea0..10d596261e 100644 --- a/cdi/pom.xml +++ b/cdi/pom.xml @@ -172,14 +172,6 @@ - - org.apache.maven.plugins - maven-checkstyle-plugin - - - de.thetaphi - forbiddenapis - maven-jar-plugin diff --git a/cdi/src/test/java/org/hibernate/validator/test/cdi/internal/ValidationExtensionTest.java b/cdi/src/test/java/org/hibernate/validator/test/cdi/internal/ValidationExtensionTest.java index 0dfb5edbdf..f3718b942a 100644 --- a/cdi/src/test/java/org/hibernate/validator/test/cdi/internal/ValidationExtensionTest.java +++ b/cdi/src/test/java/org/hibernate/validator/test/cdi/internal/ValidationExtensionTest.java @@ -237,4 +237,3 @@ public void addDefinitionError(Throwable t) { }; } } - diff --git a/cdi/src/test/resources/beans.xml b/cdi/src/test/resources/beans.xml index 6799110af5..11b109f275 100644 --- a/cdi/src/test/resources/beans.xml +++ b/cdi/src/test/resources/beans.xml @@ -1,12 +1,12 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/beans_4_0.xsd" + version="4.0" bean-discovery-mode="all"> diff --git a/cdi/src/test/resources/org/hibernate/validator/test/cdi/internal/injection/validation.xml b/cdi/src/test/resources/org/hibernate/validator/test/cdi/internal/injection/validation.xml index 4f77c68d67..76ff2e0610 100644 --- a/cdi/src/test/resources/org/hibernate/validator/test/cdi/internal/injection/validation.xml +++ b/cdi/src/test/resources/org/hibernate/validator/test/cdi/internal/injection/validation.xml @@ -1,13 +1,13 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> - org.hibernate.validator.test.cdi.internal.injection.MyValidationProvider - \ No newline at end of file + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/configuration https://jakarta.ee/xml/ns/validation/validation-configuration-3.0.xsd" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + version="3.0"> + org.hibernate.validator.test.cdi.internal.injection.MyValidationProvider + diff --git a/cdi/src/test/resources/org/hibernate/validator/test/cdi/internal/methodvalidation/getter/validation-validate-executable-getter.xml b/cdi/src/test/resources/org/hibernate/validator/test/cdi/internal/methodvalidation/getter/validation-validate-executable-getter.xml index d36f0a2727..bc621ab6c6 100644 --- a/cdi/src/test/resources/org/hibernate/validator/test/cdi/internal/methodvalidation/getter/validation-validate-executable-getter.xml +++ b/cdi/src/test/resources/org/hibernate/validator/test/cdi/internal/methodvalidation/getter/validation-validate-executable-getter.xml @@ -1,18 +1,18 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> - - - GETTER_METHODS - - + xmlns="https://jakarta.ee/xml/ns/validation/configuration" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/configuration https://jakarta.ee/xml/ns/validation/validation-configuration-3.0.xsd" + version="3.0"> + + + GETTER_METHODS + + diff --git a/cdi/src/test/resources/org/hibernate/validator/test/cdi/internal/methodvalidation/validation-disable-executable-validation.xml b/cdi/src/test/resources/org/hibernate/validator/test/cdi/internal/methodvalidation/validation-disable-executable-validation.xml index 5051487ada..399aa56c69 100644 --- a/cdi/src/test/resources/org/hibernate/validator/test/cdi/internal/methodvalidation/validation-disable-executable-validation.xml +++ b/cdi/src/test/resources/org/hibernate/validator/test/cdi/internal/methodvalidation/validation-disable-executable-validation.xml @@ -1,14 +1,14 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> - + xmlns="https://jakarta.ee/xml/ns/validation/configuration" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/configuration https://jakarta.ee/xml/ns/validation/validation-configuration-3.0.xsd" + version="3.0"> + diff --git a/distribution/pom.xml b/distribution/pom.xml index 1680955a61..00da91fa98 100644 --- a/distribution/pom.xml +++ b/distribution/pom.xml @@ -1,3 +1,4 @@ + +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> - dist - - tar.gz - zip - - - + dist + + tar.gz + zip + + + - - - - - dist - - org.hibernate.validator:hibernate-validator - org.hibernate.validator:hibernate-validator-cdi - org.hibernate.validator:hibernate-validator-annotation-processor - - + + + + + dist + + org.hibernate.validator:hibernate-validator + org.hibernate.validator:hibernate-validator-cdi + org.hibernate.validator:hibernate-validator-annotation-processor + + - - - dist/lib/required - - jakarta.validation:jakarta.validation-api - org.jboss.logging:jboss-logging - com.fasterxml:classmate - org.glassfish.expressly:expressly - - - - dist/lib/optional - - org.apache.logging.log4j:log4j-core - joda-time:joda-time - jakarta.persistence:jakarta.persistence-api - com.thoughtworks.paranamer:paranamer - - - + + + dist/lib/required + + jakarta.validation:jakarta.validation-api + org.jboss.logging:jboss-logging + com.fasterxml:classmate + org.glassfish.expressly:expressly + + + + dist/lib/optional + + org.apache.logging.log4j:log4j-core + joda-time:joda-time + jakarta.persistence:jakarta.persistence-api + com.thoughtworks.paranamer:paranamer + + + - - - ../README.md - / - - - ../CONTRIBUTING.md - / - - - ../changelog.txt - / - - - ../copyright.txt - / - - - ../license.txt - / - - + + + ../README.md + / + + + ../CONTRIBUTING.md + / + + + ../changelog.txt + / + + + ../copyright.txt + / + + + ../license.txt + / + + - - - - .. - project - true - - - README.md - CONTRIBUTING.md - changelog.txt - copyright.txt - license.txt + + + + .. + project + true + + + README.md + CONTRIBUTING.md + changelog.txt + copyright.txt + license.txt - - src/main/scripts/** - hibernate-noorm-release-scripts/** - hibernate-release-scripts/** + + src/main/scripts/** + hibernate-noorm-release-scripts/** + hibernate-release-scripts/** - - .travis.yml - travis/** - .git - .gitignore - .gitattributes - .git-blame-ignore-revs - **/target/** - **/test-output/** - **/.settings/** - **/.project - **/.classpath - **/.checkstyle - **/.idea/** - .sonar-ide.properties - **/*.iml - **/*.ipr - **/*.iws - **/performance/hibernate-validator.log - **/performance/dependency-reduced-pom.xml - **/.cache/** - - + + .travis.yml + travis/** + .git + .gitignore + .gitattributes + .git-blame-ignore-revs + **/target/** + **/test-output/** + **/.settings/** + **/.project + **/.classpath + **/.checkstyle + **/.idea/** + .sonar-ide.properties + **/*.iml + **/*.ipr + **/*.iws + **/performance/hibernate-validator.log + **/performance/dependency-reduced-pom.xml + **/.cache/** + + - - - target/site/javadocs/apidocs - docs/api - - - ../documentation/target/asciidoctor - docs/reference - + + + target/site/javadocs/apidocs + docs/api + + + ../documentation/target/asciidoctor + docs/reference + - + diff --git a/documentation/pom.xml b/documentation/pom.xml index 06425df1ef..e79b399cce 100644 --- a/documentation/pom.xml +++ b/documentation/pom.xml @@ -127,13 +127,6 @@ maven-compiler-plugin - - maven-checkstyle-plugin - - - de.thetaphi - forbiddenapis - maven-dependency-plugin diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter01/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter01/Car.java index 656c7de15d..787b193030 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter01/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter01/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter01; import jakarta.validation.constraints.Min; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter01/CarTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter01/CarTest.java index 567514e8b9..090f1198d9 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter01/CarTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter01/CarTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter01; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/classlevel/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/classlevel/Car.java index 7c706997fc..9c9544f94a 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/classlevel/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/classlevel/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter02.classlevel; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/classlevel/Person.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/classlevel/Person.java index 2637e4eb57..8254c9bc11 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/classlevel/Person.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/classlevel/Person.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter02.classlevel; public class Person { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/classlevel/ValidPassengerCount.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/classlevel/ValidPassengerCount.java index f7cb74f996..d5d619fbbb 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/classlevel/ValidPassengerCount.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/classlevel/ValidPassengerCount.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter02.classlevel; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/custom/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/custom/Car.java index a0f5d7aac7..270fa20712 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/custom/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/custom/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter02.containerelement.custom; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/custom/CarTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/custom/CarTest.java index 9a71df266a..3cb35fe057 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/custom/CarTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/custom/CarTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter02.containerelement.custom; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/custom/Gear.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/custom/Gear.java index 885fb7a25d..8165652e2d 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/custom/Gear.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/custom/Gear.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter02.containerelement.custom; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/custom/GearBox.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/custom/GearBox.java index 84ee6d0e77..4854f6a7b3 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/custom/GearBox.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/custom/GearBox.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter02.containerelement.custom; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/custom/GearBoxValueExtractor.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/custom/GearBoxValueExtractor.java index 09ee01ebd4..2a7e611c96 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/custom/GearBoxValueExtractor.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/custom/GearBoxValueExtractor.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter02.containerelement.custom; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/custom/MinTorque.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/custom/MinTorque.java index 956344fa91..ec37a532b8 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/custom/MinTorque.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/custom/MinTorque.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter02.containerelement.custom; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/list/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/list/Car.java index d40a9ec708..3e5b86305a 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/list/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/list/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter02.containerelement.list; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/list/CarTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/list/CarTest.java index bf14f9331f..b601cf81fe 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/list/CarTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/list/CarTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter02.containerelement.list; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/list/ValidPart.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/list/ValidPart.java index 38d864013c..ea404a656e 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/list/ValidPart.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/list/ValidPart.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter02.containerelement.list; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/map/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/map/Car.java index 4df4a33174..52d4955950 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/map/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/map/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter02.containerelement.map; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/map/CarTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/map/CarTest.java index ef04000425..6e7dac6f23 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/map/CarTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/map/CarTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter02.containerelement.map; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/map/MaxAllowedFuelConsumption.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/map/MaxAllowedFuelConsumption.java index 9ab4e2f201..294143ac19 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/map/MaxAllowedFuelConsumption.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/map/MaxAllowedFuelConsumption.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter02.containerelement.map; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/nested/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/nested/Car.java index 414bca5b9c..ff0df730d0 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/nested/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/nested/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter02.containerelement.nested; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/nested/Manufacturer.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/nested/Manufacturer.java index 1d7baecefa..4fe8edd7a4 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/nested/Manufacturer.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/nested/Manufacturer.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter02.containerelement.nested; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/nested/Part.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/nested/Part.java index e86e86debe..8f18cd2d21 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/nested/Part.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/nested/Part.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter02.containerelement.nested; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/optional/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/optional/Car.java index a26e0ac14a..bd3a868eaa 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/optional/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/optional/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter02.containerelement.optional; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/optional/CarTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/optional/CarTest.java index 8c0d206196..29990db417 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/optional/CarTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/optional/CarTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter02.containerelement.optional; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/optional/MinTowingCapacity.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/optional/MinTowingCapacity.java index 6c133a20c8..0ae2916ead 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/optional/MinTowingCapacity.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/optional/MinTowingCapacity.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter02.containerelement.optional; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/set/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/set/Car.java index 3ae829ea68..9f971f5a3c 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/set/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/set/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter02.containerelement.set; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/set/CarTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/set/CarTest.java index 8ccd2b6bcb..f6d0e5d80c 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/set/CarTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/set/CarTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter02.containerelement.set; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/set/ValidPart.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/set/ValidPart.java index 9b8f83dd94..d2739a79aa 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/set/ValidPart.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/containerelement/set/ValidPart.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter02.containerelement.set; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/fieldlevel/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/fieldlevel/Car.java index 0ca0043dbf..4cdfb60d4e 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/fieldlevel/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/fieldlevel/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter02.fieldlevel; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/inheritance/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/inheritance/Car.java index c61c494e73..a405e3bd25 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/inheritance/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/inheritance/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter02.inheritance; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/inheritance/RentalCar.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/inheritance/RentalCar.java index a434d4d61b..ca0dea84a5 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/inheritance/RentalCar.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/inheritance/RentalCar.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter02.inheritance; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/objectgraph/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/objectgraph/Car.java index b3f64390c1..39d2bf41a4 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/objectgraph/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/objectgraph/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter02.objectgraph; @@ -15,4 +21,3 @@ public class Car { //... } //end::include[] - diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/objectgraph/Person.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/objectgraph/Person.java index 4047b7ff8d..618ddeb5de 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/objectgraph/Person.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/objectgraph/Person.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter02.objectgraph; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/objectgraph/containerelement/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/objectgraph/containerelement/Car.java index ac68490b77..31b3dd34cb 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/objectgraph/containerelement/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/objectgraph/containerelement/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter02.objectgraph.containerelement; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/objectgraph/containerelement/Manufacturer.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/objectgraph/containerelement/Manufacturer.java index 336ca7f98f..afbba53164 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/objectgraph/containerelement/Manufacturer.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/objectgraph/containerelement/Manufacturer.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter02.objectgraph.containerelement; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/objectgraph/containerelement/Part.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/objectgraph/containerelement/Part.java index 46b60cabc6..5af0c91f0c 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/objectgraph/containerelement/Part.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/objectgraph/containerelement/Part.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter02.objectgraph.containerelement; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/objectgraph/containerelement/Person.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/objectgraph/containerelement/Person.java index 2b68f10f0a..d2371a1335 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/objectgraph/containerelement/Person.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/objectgraph/containerelement/Person.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter02.objectgraph.containerelement; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/propertylevel/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/propertylevel/Car.java index 974269a741..22ee1f4292 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/propertylevel/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/propertylevel/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter02.propertylevel; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/validation/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/validation/Car.java index 1868ae4950..a17b39ee2e 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/validation/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/validation/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter02.validation; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/validation/ValidationTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/validation/ValidationTest.java index cf589483c0..049f5cea7a 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/validation/ValidationTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/validation/ValidationTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter02.validation; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/cascaded/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/cascaded/Car.java index 9d4b55894b..b1c30b154e 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/cascaded/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/cascaded/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter03.cascaded; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/cascaded/Garage.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/cascaded/Garage.java index 938ab4961f..94bed8f7e9 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/cascaded/Garage.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/cascaded/Garage.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter03.cascaded; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/cascaded/GarageTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/cascaded/GarageTest.java index 871f4911fd..968c065949 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/cascaded/GarageTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/cascaded/GarageTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter03.cascaded; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/cascaded/containerelement/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/cascaded/containerelement/Car.java index 1d01450778..066df0087a 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/cascaded/containerelement/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/cascaded/containerelement/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter03.cascaded.containerelement; import jakarta.validation.constraints.NotNull; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/cascaded/containerelement/Garage.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/cascaded/containerelement/Garage.java index 3d95549ae8..109044d2d1 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/cascaded/containerelement/Garage.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/cascaded/containerelement/Garage.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter03.cascaded.containerelement; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/Car.java index 247dfe1b36..6b65519ae6 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter03.crossparameter; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/LuggageCountMatchesPassengerCount.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/LuggageCountMatchesPassengerCount.java index 77e063bf38..a4082b8889 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/LuggageCountMatchesPassengerCount.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/LuggageCountMatchesPassengerCount.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter03.crossparameter; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/Person.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/Person.java index dea728f091..926b6e70b2 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/Person.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/Person.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter03.crossparameter; public class Person { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/PieceOfLuggage.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/PieceOfLuggage.java index 7f7fc4f723..b3a4dac337 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/PieceOfLuggage.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/PieceOfLuggage.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter03.crossparameter; public class PieceOfLuggage { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/constrainttarget/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/constrainttarget/Car.java index b8e540bd47..6762d6c36c 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/constrainttarget/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/constrainttarget/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter03.crossparameter.constrainttarget; public class Car { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/constrainttarget/ELAssert.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/constrainttarget/ELAssert.java index 09734052a5..0a0e636a13 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/constrainttarget/ELAssert.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/constrainttarget/ELAssert.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter03.crossparameter.constrainttarget; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/constrainttarget/Garage.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/constrainttarget/Garage.java index 7e8fed8a76..088048206d 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/constrainttarget/Garage.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/constrainttarget/Garage.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter03.crossparameter.constrainttarget; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/constrainttarget/Part.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/constrainttarget/Part.java index af627caa05..f1133b43be 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/constrainttarget/Part.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/crossparameter/constrainttarget/Part.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter03.crossparameter.constrainttarget; public class Part { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parallel/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parallel/Car.java index af209f7eb8..5506af1616 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parallel/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parallel/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter03.inheritance.parallel; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parallel/CarTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parallel/CarTest.java index 4d4d73227b..3863dee9e2 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parallel/CarTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parallel/CarTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter03.inheritance.parallel; import java.lang.reflect.Method; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parallel/RacingCar.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parallel/RacingCar.java index 676e4cbe50..473ebd4056 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parallel/RacingCar.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parallel/RacingCar.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter03.inheritance.parallel; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parallel/Vehicle.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parallel/Vehicle.java index e480eab54a..d05a66576c 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parallel/Vehicle.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parallel/Vehicle.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter03.inheritance.parallel; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parameter/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parameter/Car.java index 91bc057a59..04cb198150 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parameter/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parameter/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter03.inheritance.parameter; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parameter/CarTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parameter/CarTest.java index 081d67598e..79d8a812d1 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parameter/CarTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parameter/CarTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter03.inheritance.parameter; import java.lang.reflect.Method; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parameter/Vehicle.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parameter/Vehicle.java index 5f5c2118b4..f4be54ee66 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parameter/Vehicle.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/parameter/Vehicle.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter03.inheritance.parameter; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/returnvalue/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/returnvalue/Car.java index 683722294f..c18ec78080 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/returnvalue/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/returnvalue/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter03.inheritance.returnvalue; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/returnvalue/CarTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/returnvalue/CarTest.java index 9fa26f5781..f250f9714a 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/returnvalue/CarTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/returnvalue/CarTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter03.inheritance.returnvalue; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/returnvalue/Person.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/returnvalue/Person.java index 292dc0c138..a129d574bc 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/returnvalue/Person.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/returnvalue/Person.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter03.inheritance.returnvalue; public class Person { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/returnvalue/Vehicle.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/returnvalue/Vehicle.java index 34fadffdec..b5721c2077 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/returnvalue/Vehicle.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/inheritance/returnvalue/Vehicle.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter03.inheritance.returnvalue; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameter/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameter/Car.java index 1dc20c6b9e..dfe014d2fc 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameter/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameter/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter03.parameter; public class Car { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameter/Customer.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameter/Customer.java index 0912984067..473d85b2b3 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameter/Customer.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameter/Customer.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter03.parameter; public class Customer { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameter/RentalStation.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameter/RentalStation.java index 18500f4a3c..6735f7d0fe 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameter/RentalStation.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameter/RentalStation.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter03.parameter; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameterscriptassert/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameterscriptassert/Car.java index e5c4fe1b56..975d675450 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameterscriptassert/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameterscriptassert/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter03.parameterscriptassert; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameterscriptassert/ParameterScriptAssertTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameterscriptassert/ParameterScriptAssertTest.java index 258daf1285..35cd0ad823 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameterscriptassert/ParameterScriptAssertTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameterscriptassert/ParameterScriptAssertTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter03.parameterscriptassert; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameterscriptassert/Person.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameterscriptassert/Person.java index 129f4459f4..3bd9240329 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameterscriptassert/Person.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameterscriptassert/Person.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter03.parameterscriptassert; public class Person { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameterscriptassert/PieceOfLuggage.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameterscriptassert/PieceOfLuggage.java index d28f693599..26810f8ed0 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameterscriptassert/PieceOfLuggage.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/parameterscriptassert/PieceOfLuggage.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter03.parameterscriptassert; public class PieceOfLuggage { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/returnvalue/Customer.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/returnvalue/Customer.java index 8b91232f7f..84663d0c69 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/returnvalue/Customer.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/returnvalue/Customer.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter03.returnvalue; public class Customer { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/returnvalue/RentalStation.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/returnvalue/RentalStation.java index b4e5a5ae22..3a4f7a645e 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/returnvalue/RentalStation.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/returnvalue/RentalStation.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter03.returnvalue; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/returnvalue/ValidRentalStation.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/returnvalue/ValidRentalStation.java index b4dc23b41c..3adb92f485 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/returnvalue/ValidRentalStation.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/returnvalue/ValidRentalStation.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter03.returnvalue; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/validation/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/validation/Car.java index c39c0e6f9f..1aaa3844d5 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/validation/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/validation/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter03.validation; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/validation/CarTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/validation/CarTest.java index 189e84d425..414d544e5d 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/validation/CarTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/validation/CarTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter03.validation; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/validation/Passenger.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/validation/Passenger.java index 25778a2a4f..b0e3f4670a 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/validation/Passenger.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/validation/Passenger.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter03.validation; public class Passenger { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/validation/ValidRacingCar.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/validation/ValidRacingCar.java index 8a4dedca1f..8ce5a2cdc9 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/validation/ValidRacingCar.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter03/validation/ValidRacingCar.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter03.validation; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter04/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter04/Car.java index 09eff4997a..774065140a 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter04/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter04/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter04; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter04/complete/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter04/complete/Car.java index f8f4121cf7..723cfefc42 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter04/complete/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter04/complete/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter04.complete; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter04/complete/CarTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter04/complete/CarTest.java index 8b9b846ee6..b0542594ea 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter04/complete/CarTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter04/complete/CarTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter04.complete; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter04/resourcebundlelocator/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter04/resourcebundlelocator/Car.java index ac7e64c7d0..6edb3f64c5 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter04/resourcebundlelocator/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter04/resourcebundlelocator/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter04.resourcebundlelocator; import jakarta.validation.constraints.Max; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter04/resourcebundlelocator/ResourceBundleLocatorTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter04/resourcebundlelocator/ResourceBundleLocatorTest.java index 6a54d3a60f..5dfc3699c3 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter04/resourcebundlelocator/ResourceBundleLocatorTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter04/resourcebundlelocator/ResourceBundleLocatorTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter04.resourcebundlelocator; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/Car.java index 9e13cab3ae..f8d85954f5 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter05; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/CarChecks.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/CarChecks.java index 98606f1dfa..dce494eef6 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/CarChecks.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/CarChecks.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter05; public interface CarChecks { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/Driver.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/Driver.java index 49db543efb..a87b2785bc 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/Driver.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/Driver.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter05; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/DriverChecks.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/DriverChecks.java index 1bf5c2feca..00b1ea20ed 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/DriverChecks.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/DriverChecks.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter05; public interface DriverChecks { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/GroupTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/GroupTest.java index 681bb199cb..35d7a39604 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/GroupTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/GroupTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter05; import static org.assertj.core.api.Assertions.assertThat; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/OrderedChecks.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/OrderedChecks.java index 825dd5746b..e410570208 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/OrderedChecks.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/OrderedChecks.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter05; import jakarta.validation.GroupSequence; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/Person.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/Person.java index 0266f95908..345dee807d 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/Person.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/Person.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter05; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/RentalCar.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/RentalCar.java index fe09f0de97..cf9046efe8 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/RentalCar.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/RentalCar.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter05; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/RentalChecks.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/RentalChecks.java index 4ee40aec91..8fd2880b2b 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/RentalChecks.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/RentalChecks.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter05; public interface RentalChecks { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupconversion/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupconversion/Car.java index a65787acc1..27a9f48ec5 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupconversion/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupconversion/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter05.groupconversion; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupconversion/CarChecks.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupconversion/CarChecks.java index e1c5471081..a61f1cbc29 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupconversion/CarChecks.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupconversion/CarChecks.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter05.groupconversion; public interface CarChecks { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupconversion/Driver.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupconversion/Driver.java index cfd979c113..c818e42acd 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupconversion/Driver.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupconversion/Driver.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter05.groupconversion; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupconversion/DriverChecks.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupconversion/DriverChecks.java index e404bd81c0..315a40ebcd 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupconversion/DriverChecks.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupconversion/DriverChecks.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter05.groupconversion; public interface DriverChecks { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupconversion/GroupConversionTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupconversion/GroupConversionTest.java index 4297019aa2..5f4bc06d3e 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupconversion/GroupConversionTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupconversion/GroupConversionTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter05.groupconversion; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupinheritance/RaceCarChecks.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupinheritance/RaceCarChecks.java index f1e84d3563..0802aa39e0 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupinheritance/RaceCarChecks.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupinheritance/RaceCarChecks.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter05.groupinheritance; import jakarta.validation.groups.Default; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupinheritance/SuperCar.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupinheritance/SuperCar.java index 81d3461cf2..966f5a919c 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupinheritance/SuperCar.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupinheritance/SuperCar.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter05.groupinheritance; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupsequenceprovider/RentalCar.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupsequenceprovider/RentalCar.java index 8391e4771c..f839eee768 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupsequenceprovider/RentalCar.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupsequenceprovider/RentalCar.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter05.groupsequenceprovider; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupsequenceprovider/RentalCarGroupSequenceProvider.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupsequenceprovider/RentalCarGroupSequenceProvider.java index 3b1b192645..94b53faa15 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupsequenceprovider/RentalCarGroupSequenceProvider.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/groupsequenceprovider/RentalCarGroupSequenceProvider.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter05.groupsequenceprovider; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/Car.java index 3d00ecfffd..39062cdfb3 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter06; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/CarTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/CarTest.java index 1289290ccf..f6fbdaa28b 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/CarTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/CarTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter06; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/CaseMode.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/CaseMode.java index fb9815172b..d20ce32389 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/CaseMode.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/CaseMode.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter06; public enum CaseMode { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/CheckCase.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/CheckCase.java index 265fddfec6..34e16339ab 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/CheckCase.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/CheckCase.java @@ -1,3 +1,10 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ +//spotless:off //tag::include[] package org.hibernate.validator.referenceguide.chapter06; @@ -19,6 +26,7 @@ import org.hibernate.validator.referenceguide.chapter06.CheckCase.List; +//spotless:on //tag::include[] @Target({ FIELD, METHOD, PARAMETER, ANNOTATION_TYPE, TYPE_USE }) @Retention(RUNTIME) diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/CheckCaseValidator.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/CheckCaseValidator.java index 47e769b6c7..bf25b6c538 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/CheckCaseValidator.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/CheckCaseValidator.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter06; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/MyFuture.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/MyFuture.java index 74bfba0bc0..348f6e9470 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/MyFuture.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/MyFuture.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter06; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/MyFutureValidator.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/MyFutureValidator.java index a2a507b762..7761abd675 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/MyFutureValidator.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/MyFutureValidator.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter06; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/classlevel/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/classlevel/Car.java index bb2984e438..b3fcda3eae 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/classlevel/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/classlevel/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter06.classlevel; import java.util.List; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/classlevel/ClassLevelConstraintTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/classlevel/ClassLevelConstraintTest.java index 186722e0c6..b043777af6 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/classlevel/ClassLevelConstraintTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/classlevel/ClassLevelConstraintTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter06.classlevel; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/classlevel/Person.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/classlevel/Person.java index 9fb787ebea..51ca57f7e7 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/classlevel/Person.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/classlevel/Person.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter06.classlevel; public class Person { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/classlevel/ValidPassengerCount.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/classlevel/ValidPassengerCount.java index d403372fe5..e8a9a2eb7e 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/classlevel/ValidPassengerCount.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/classlevel/ValidPassengerCount.java @@ -1,3 +1,10 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ +//spotless:off //tag::include[] package org.hibernate.validator.referenceguide.chapter06.classlevel; @@ -13,6 +20,7 @@ import jakarta.validation.Constraint; import jakarta.validation.Payload; +//spotless:on //tag::include[] @Target({ TYPE, ANNOTATION_TYPE }) @Retention(RUNTIME) diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/classlevel/ValidPassengerCountValidator.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/classlevel/ValidPassengerCountValidator.java index 345e3f0ad2..312c3de90d 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/classlevel/ValidPassengerCountValidator.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/classlevel/ValidPassengerCountValidator.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter06.classlevel; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintcomposition/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintcomposition/Car.java index ea30872cf5..74e5da5596 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintcomposition/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintcomposition/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter06.constraintcomposition; public class Car { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintcomposition/CaseMode.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintcomposition/CaseMode.java index 465f598d5f..70dee214c0 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintcomposition/CaseMode.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintcomposition/CaseMode.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter06.constraintcomposition; public enum CaseMode { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintcomposition/CheckCase.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintcomposition/CheckCase.java index 241865c5cf..74b812265f 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintcomposition/CheckCase.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintcomposition/CheckCase.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter06.constraintcomposition; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintcomposition/ValidLicensePlate.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintcomposition/ValidLicensePlate.java index e6a55fc550..ccb6d9c37d 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintcomposition/ValidLicensePlate.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintcomposition/ValidLicensePlate.java @@ -1,3 +1,10 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ +//spotless:off //tag::include[] package org.hibernate.validator.referenceguide.chapter06.constraintcomposition; @@ -17,6 +24,7 @@ import jakarta.validation.constraints.NotNull; import jakarta.validation.constraints.Size; +//spotless:on //tag::include[] @NotNull @Size(min = 2, max = 14) diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintcomposition/reportassingle/ValidLicensePlate.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintcomposition/reportassingle/ValidLicensePlate.java index 2ef16c1e12..75f9c107d3 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintcomposition/reportassingle/ValidLicensePlate.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintcomposition/reportassingle/ValidLicensePlate.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter06.constraintcomposition.reportassingle; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintvalidatorcontext/CaseMode.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintvalidatorcontext/CaseMode.java index 6cf96e522f..c9a3a4a82a 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintvalidatorcontext/CaseMode.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintvalidatorcontext/CaseMode.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter06.constraintvalidatorcontext; public enum CaseMode { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintvalidatorcontext/CheckCase.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintvalidatorcontext/CheckCase.java index 8398ae5e8b..f8aec75d1c 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintvalidatorcontext/CheckCase.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintvalidatorcontext/CheckCase.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter06.constraintvalidatorcontext; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintvalidatorcontext/CheckCaseValidator.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintvalidatorcontext/CheckCaseValidator.java index 9d3bf83628..c160622db3 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintvalidatorcontext/CheckCaseValidator.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintvalidatorcontext/CheckCaseValidator.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter06.constraintvalidatorcontext; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintvalidatorpayload/ConstraintValidatorPayloadTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintvalidatorpayload/ConstraintValidatorPayloadTest.java index aab61d878d..23c38d1689 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintvalidatorpayload/ConstraintValidatorPayloadTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintvalidatorpayload/ConstraintValidatorPayloadTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter06.constraintvalidatorpayload; import jakarta.validation.Validation; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintvalidatorpayload/ZipCode.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintvalidatorpayload/ZipCode.java index 216b83f6b5..0373a336d4 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintvalidatorpayload/ZipCode.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintvalidatorpayload/ZipCode.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter06.constraintvalidatorpayload; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintvalidatorpayload/ZipCodeValidator.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintvalidatorpayload/ZipCodeValidator.java index 5fe659b06f..4603494e04 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintvalidatorpayload/ZipCodeValidator.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/constraintvalidatorpayload/ZipCodeValidator.java @@ -1,3 +1,10 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ +//spotless:off //tag::include[] package org.hibernate.validator.referenceguide.chapter06.constraintvalidatorpayload; @@ -7,6 +14,7 @@ import org.hibernate.validator.constraintvalidation.HibernateConstraintValidatorContext; +//spotless:on //tag::include[] public class ZipCodeValidator implements ConstraintValidator { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ConsistentDateParameters.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ConsistentDateParameters.java index 813a546aa9..e689dd95bf 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ConsistentDateParameters.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ConsistentDateParameters.java @@ -1,3 +1,10 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ +//spotless:off //tag::include[] package org.hibernate.validator.referenceguide.chapter06.crossparameter; @@ -14,6 +21,7 @@ import jakarta.validation.Constraint; import jakarta.validation.Payload; +//spotless:on //tag::include[] @Constraint(validatedBy = ConsistentDateParametersValidator.class) @Target({ METHOD, CONSTRUCTOR, ANNOTATION_TYPE }) diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ConsistentDateParametersTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ConsistentDateParametersTest.java index 7b32645f12..7a28451fa2 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ConsistentDateParametersTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ConsistentDateParametersTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter06.crossparameter; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ConsistentDateParametersValidator.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ConsistentDateParametersValidator.java index b5d6d57cea..97a55a4584 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ConsistentDateParametersValidator.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ConsistentDateParametersValidator.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter06.crossparameter; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ScriptAssert.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ScriptAssert.java index a4826428f1..8bc5eff666 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ScriptAssert.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ScriptAssert.java @@ -1,3 +1,10 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ +//spotless:off //tag::include[] package org.hibernate.validator.referenceguide.chapter06.crossparameter; @@ -13,6 +20,7 @@ import jakarta.validation.ConstraintTarget; import jakarta.validation.Payload; +//spotless:on //tag::include[] @Constraint(validatedBy = { ScriptAssertObjectValidator.class, diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ScriptAssertObjectValidator.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ScriptAssertObjectValidator.java index 650a2a0b41..bcbdbbf916 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ScriptAssertObjectValidator.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ScriptAssertObjectValidator.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter06.crossparameter; import jakarta.validation.ConstraintValidator; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ScriptAssertParametersValidator.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ScriptAssertParametersValidator.java index 915e1816e6..7370f63c94 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ScriptAssertParametersValidator.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ScriptAssertParametersValidator.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter06.crossparameter; import jakarta.validation.ConstraintValidator; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ScriptAssertTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ScriptAssertTest.java index 4800c265f3..16c529430c 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ScriptAssertTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/crossparameter/ScriptAssertTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter06.crossparameter; import java.util.List; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/custompath/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/custompath/Car.java index d6e0d35368..5def01bccd 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/custompath/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/custompath/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter06.custompath; import java.util.List; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/custompath/CarTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/custompath/CarTest.java index 06123487ca..baadf80d47 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/custompath/CarTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/custompath/CarTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter06.custompath; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/custompath/ValidPassengerCount.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/custompath/ValidPassengerCount.java index f91d930da1..1f1fdbdec0 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/custompath/ValidPassengerCount.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/custompath/ValidPassengerCount.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter06.custompath; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/custompath/ValidPassengerCountValidator.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/custompath/ValidPassengerCountValidator.java index 352155e3df..adaca88c91 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/custompath/ValidPassengerCountValidator.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/custompath/ValidPassengerCountValidator.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter06.custompath; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/elinjection/SafeValidator.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/elinjection/SafeValidator.java index df7b9a20d0..5fec8ff368 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/elinjection/SafeValidator.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/elinjection/SafeValidator.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter06.elinjection; import jakarta.validation.ConstraintValidator; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/elinjection/UnsafeValidator.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/elinjection/UnsafeValidator.java index 1eed0d5251..609c5844b9 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/elinjection/UnsafeValidator.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/elinjection/UnsafeValidator.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter06.elinjection; import jakarta.validation.ConstraintValidator; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/payload/ContactDetails.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/payload/ContactDetails.java index 29d8ef29e9..b640107758 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/payload/ContactDetails.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/payload/ContactDetails.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter06.payload; import jakarta.validation.constraints.NotNull; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/payload/Severity.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/payload/Severity.java index bf358c4525..77ee4d23d5 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/payload/Severity.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/payload/Severity.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter06.payload; import jakarta.validation.Payload; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter07/Container.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter07/Container.java index c38e612bae..fdd5369d86 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter07/Container.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter07/Container.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter07; import java.util.OptionalInt; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter07/nongeneric/OptionalIntValueExtractor.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter07/nongeneric/OptionalIntValueExtractor.java index 2578396297..c4d24429de 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter07/nongeneric/OptionalIntValueExtractor.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter07/nongeneric/OptionalIntValueExtractor.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter07.nongeneric; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter07/nongeneric/UnwrapByDefaultOptionalIntValueExtractor.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter07/nongeneric/UnwrapByDefaultOptionalIntValueExtractor.java index 6adf4948c3..9fd7ad02a2 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter07/nongeneric/UnwrapByDefaultOptionalIntValueExtractor.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter07/nongeneric/UnwrapByDefaultOptionalIntValueExtractor.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter07.nongeneric; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter07/valueextractor/MultimapKeyValueExtractor.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter07/valueextractor/MultimapKeyValueExtractor.java index cc33a0a074..f7f5412b7b 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter07/valueextractor/MultimapKeyValueExtractor.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter07/valueextractor/MultimapKeyValueExtractor.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter07.valueextractor; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter07/valueextractor/MultimapValueValueExtractor.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter07/valueextractor/MultimapValueValueExtractor.java index cd43618073..bbb104409b 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter07/valueextractor/MultimapValueValueExtractor.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter07/valueextractor/MultimapValueValueExtractor.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter07.valueextractor; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter07/valueextractor/OptionalValueExtractor.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter07/valueextractor/OptionalValueExtractor.java index 48af58778c..b07d1bab31 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter07/valueextractor/OptionalValueExtractor.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter07/valueextractor/OptionalValueExtractor.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter07.valueextractor; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/Car.java index 7929da231a..387eb852b6 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter08; public class Car { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/Customer.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/Customer.java index f6b81262c2..567e05a2a9 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/Customer.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/Customer.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter08; public class Customer { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/ELAssert.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/ELAssert.java index 1ab10d3ec9..4d4144504d 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/ELAssert.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/ELAssert.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter08; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/Garage.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/Garage.java index 4b023dd4ec..30dfbac4fe 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/Garage.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/Garage.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter08; import java.util.List; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/Part.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/Part.java index 455b253525..3f93810581 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/Part.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/Part.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter08; public class Part { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/RentalStation.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/RentalStation.java index 37e503c4db..3c49717285 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/RentalStation.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/RentalStation.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter08; import java.util.Date; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/ValidRentalStation.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/ValidRentalStation.java index d73d58dca9..d242dccb96 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/ValidRentalStation.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/ValidRentalStation.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter08; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/XMLConfigurationTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/XMLConfigurationTest.java index 2728d00bcf..ac876b7f70 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/XMLConfigurationTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/XMLConfigurationTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter08; import static org.junit.Assert.assertTrue; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/BootstrappingTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/BootstrappingTest.java index 9dbc638a2e..8d2411d8ca 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/BootstrappingTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/BootstrappingTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter09; import static org.hibernate.validator.testutil.ConstraintViolationAssert.assertThat; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/CustomScriptEvaluatorFactory.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/CustomScriptEvaluatorFactory.java index 637dca01aa..414285ba79 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/CustomScriptEvaluatorFactory.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/CustomScriptEvaluatorFactory.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter09; import org.hibernate.validator.spi.scripting.ScriptEvaluator; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/CustomScriptEvaluatorFactoryForSpringELTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/CustomScriptEvaluatorFactoryForSpringELTest.java index 6467c8aa09..795e3832f3 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/CustomScriptEvaluatorFactoryForSpringELTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/CustomScriptEvaluatorFactoryForSpringELTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter09; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/CustomValidationProviderResolver.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/CustomValidationProviderResolver.java index e6655defa9..0590e77c4b 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/CustomValidationProviderResolver.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/CustomValidationProviderResolver.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter09; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/FixedClockProvider.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/FixedClockProvider.java index 764d67b8f7..1ceebadc3c 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/FixedClockProvider.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/FixedClockProvider.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter09; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/LoggingConfigurationTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/LoggingConfigurationTest.java index 01411bdd39..c4d566fe2b 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/LoggingConfigurationTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/LoggingConfigurationTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter09; import static org.junit.Assert.assertTrue; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MultimapKeyValueExtractor.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MultimapKeyValueExtractor.java index 338c85d45d..792bda166c 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MultimapKeyValueExtractor.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MultimapKeyValueExtractor.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter09; import jakarta.validation.valueextraction.ExtractedValue; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MultimapValueValueExtractor.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MultimapValueValueExtractor.java index b8d64e78d0..fc77510d03 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MultimapValueValueExtractor.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MultimapValueValueExtractor.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter09; import java.util.Map.Entry; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MyConstraintValidatorFactory.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MyConstraintValidatorFactory.java index e7b0e919b5..202dfec2c0 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MyConstraintValidatorFactory.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MyConstraintValidatorFactory.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter09; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MyFastTraversableResolver.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MyFastTraversableResolver.java index c1ba1cc547..88c9f96640 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MyFastTraversableResolver.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MyFastTraversableResolver.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter09; import java.lang.annotation.ElementType; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MyMessageInterpolator.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MyMessageInterpolator.java index 940acca999..b26644a3ab 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MyMessageInterpolator.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MyMessageInterpolator.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter09; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MyParameterNameProvider.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MyParameterNameProvider.java index fe6b49bd83..9b057130d9 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MyParameterNameProvider.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MyParameterNameProvider.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter09; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MyTraversableResolver.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MyTraversableResolver.java index f96b1223ba..c3c33ef150 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MyTraversableResolver.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MyTraversableResolver.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter09; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/SpringELScriptEvaluatorFactory.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/SpringELScriptEvaluatorFactory.java index 4e73e287c1..802f581803 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/SpringELScriptEvaluatorFactory.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/SpringELScriptEvaluatorFactory.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter09; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/validation-DisableTraversableResolverResultCache.xml b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/validation-DisableTraversableResolverResultCache.xml index 6cc277521e..fa27578578 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/validation-DisableTraversableResolverResultCache.xml +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/validation-DisableTraversableResolverResultCache.xml @@ -1,4 +1,10 @@ + + . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter10; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/Car.java index a66d3dd11d..a416cd7ead 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter10; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/CarTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/CarTest.java index af431bd003..9a373476ec 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/CarTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/CarTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter10; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/Library.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/Library.java index 5a4eb6e137..212131c459 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/Library.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/Library.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter10; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/LibraryTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/LibraryTest.java index d441e9560b..c688d888f7 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/LibraryTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/LibraryTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter10; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/LuggageCountMatchesPassengerCount.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/LuggageCountMatchesPassengerCount.java index eebd83cecf..edc396d065 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/LuggageCountMatchesPassengerCount.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/LuggageCountMatchesPassengerCount.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter10; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/Person.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/Person.java index f73be667c7..7b4ae66a1a 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/Person.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/Person.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter10; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/PieceOfLuggage.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/PieceOfLuggage.java index 191a50b4d4..e031b030a5 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/PieceOfLuggage.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/PieceOfLuggage.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter10; import jakarta.validation.constraints.NotNull; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/ValidCar.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/ValidCar.java index e1a5fb751b..584e3125c8 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/ValidCar.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/ValidCar.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter10; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/Vehicle.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/Vehicle.java index 5aae9cc35f..fb0afeac1a 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/Vehicle.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter10/Vehicle.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter10; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/injection/ValidLicensePlate.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/injection/ValidLicensePlate.java index 953520bdbf..e3f86a4c16 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/injection/ValidLicensePlate.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/injection/ValidLicensePlate.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter11.cdi.injection; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/injection/ValidLicensePlateValidator.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/injection/ValidLicensePlateValidator.java index 8603c28ddf..9759d309ef 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/injection/ValidLicensePlateValidator.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/injection/ValidLicensePlateValidator.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter11.cdi.injection; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/injection/VehicleRegistry.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/injection/VehicleRegistry.java index 121defd54e..237d694c4b 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/injection/VehicleRegistry.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/injection/VehicleRegistry.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter11.cdi.injection; import jakarta.enterprise.context.ApplicationScoped; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/Car.java index 198166d1cd..923a9b40f2 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter11.cdi.methodvalidation; public class Car { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/Customer.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/Customer.java index 052bc03509..70d019e738 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/Customer.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/Customer.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter11.cdi.methodvalidation; public class Customer { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/RentCarRequest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/RentCarRequest.java index fc51469137..8f638de257 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/RentCarRequest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/RentCarRequest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter11.cdi.methodvalidation; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/RentalStation.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/RentalStation.java index 384287c0af..d0f6d1b4f4 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/RentalStation.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/RentalStation.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter11.cdi.methodvalidation; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/configuration/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/configuration/Car.java index 57d2e3720e..4ad68f2879 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/configuration/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/configuration/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter11.cdi.methodvalidation.configuration; public class Car { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/configuration/Customer.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/configuration/Customer.java index 1b51728246..55e539ae3e 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/configuration/Customer.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/configuration/Customer.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter11.cdi.methodvalidation.configuration; public class Customer { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/configuration/RentalStation.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/configuration/RentalStation.java index ab04b6e4e8..ff51565f09 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/configuration/RentalStation.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/configuration/RentalStation.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter11.cdi.methodvalidation.configuration; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/implicit/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/implicit/Car.java index 11741500c4..1f07333a55 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/implicit/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/implicit/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter11.cdi.methodvalidation.implicit; public class Car { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/implicit/Customer.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/implicit/Customer.java index 5f60c79c1b..75e02d3fa7 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/implicit/Customer.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/implicit/Customer.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter11.cdi.methodvalidation.implicit; public class Customer { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/implicit/ExpressRentalStation.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/implicit/ExpressRentalStation.java index 396919b803..405c5acefb 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/implicit/ExpressRentalStation.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/implicit/ExpressRentalStation.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter11.cdi.methodvalidation.implicit; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/implicit/RentalStation.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/implicit/RentalStation.java index e8cbd3eff7..ade3d9ec2e 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/implicit/RentalStation.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/methodvalidation/implicit/RentalStation.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter11.cdi.methodvalidation.implicit; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/validator/RentalStation.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/validator/RentalStation.java index 803407d422..4786df31f7 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/validator/RentalStation.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/validator/RentalStation.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter11.cdi.validator; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/validator/qualifier/RentalStation.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/validator/qualifier/RentalStation.java index ac94e534ab..2f3b80d716 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/validator/qualifier/RentalStation.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/cdi/validator/qualifier/RentalStation.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter11.cdi.validator.qualifier; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/javaee/RentalStationBean.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/javaee/RentalStationBean.java index 074ffaee57..241d3d542d 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/javaee/RentalStationBean.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/javaee/RentalStationBean.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter11.javaee; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/booleancomposition/PatternOrSize.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/booleancomposition/PatternOrSize.java index bd3cc0f62e..b9ca2c9d55 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/booleancomposition/PatternOrSize.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/booleancomposition/PatternOrSize.java @@ -1,3 +1,10 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ +//spotless:off //tag::include[] package org.hibernate.validator.referenceguide.chapter12.booleancomposition; @@ -18,6 +25,7 @@ import org.hibernate.validator.constraints.ConstraintComposition; +//spotless:on //tag::include[] @ConstraintComposition(OR) @Pattern(regexp = "[a-z]") diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/classloading/ClassLoadingTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/classloading/ClassLoadingTest.java index c886c37bc6..a8f9469cc4 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/classloading/ClassLoadingTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/classloading/ClassLoadingTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.classloading; import jakarta.validation.Validation; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Bus.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Bus.java index 0aecc2758a..6c1ff5c97a 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Bus.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Bus.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.constraintapi; import java.util.ArrayList; @@ -25,4 +31,3 @@ public void addPassenger(Person passenger) { passengers.add( passenger ); } } - diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Car.java index ec36b05c4f..820ad328de 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.constraintapi; import java.util.HashMap; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/CarChecks.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/CarChecks.java index 1e0c11647b..1232ceb530 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/CarChecks.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/CarChecks.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.constraintapi; public interface CarChecks { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/CaseMode.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/CaseMode.java index bdc0daeb37..c22d6d02d9 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/CaseMode.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/CaseMode.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.constraintapi; public enum CaseMode { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/CheckCase.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/CheckCase.java index 372aefee0a..ac0b0aa3eb 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/CheckCase.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/CheckCase.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.constraintapi; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/ConstraintApiTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/ConstraintApiTest.java index 313d67010c..6fe810a804 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/ConstraintApiTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/ConstraintApiTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.constraintapi; import java.util.List; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/LuggageCountMatchesPassengerCount.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/LuggageCountMatchesPassengerCount.java index f9829ceb37..49bdbeb268 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/LuggageCountMatchesPassengerCount.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/LuggageCountMatchesPassengerCount.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.constraintapi; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Manufacturer.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Manufacturer.java index f5e7eccf30..7c9c9b6049 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Manufacturer.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Manufacturer.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter12.constraintapi; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Marathon.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Marathon.java index fec2e9f36f..315a98c80f 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Marathon.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Marathon.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.constraintapi; import java.util.ArrayList; @@ -47,4 +53,3 @@ public boolean addRunner(Runner runner) { return runners.add( runner ); } } - diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/MyConstraintMappingContributor.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/MyConstraintMappingContributor.java index 2fdc043668..655717161c 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/MyConstraintMappingContributor.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/MyConstraintMappingContributor.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter12.constraintapi; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Part.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Part.java index 4e73766c05..d192c7803a 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Part.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Part.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.constraintapi; public class Part { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Person.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Person.java index 1b8f842ce5..56fa7d26f2 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Person.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Person.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.constraintapi; public class Person { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/RentalCar.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/RentalCar.java index 14c69e5401..6af5658849 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/RentalCar.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/RentalCar.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.constraintapi; public class RentalCar extends Car { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/RentalCarGroupSequenceProvider.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/RentalCarGroupSequenceProvider.java index 1850980327..f104d76c75 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/RentalCarGroupSequenceProvider.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/RentalCarGroupSequenceProvider.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.constraintapi; import java.util.List; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Runner.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Runner.java index 30f5f79c46..7443f3bc10 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Runner.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Runner.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.constraintapi; public class Runner { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Tournament.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Tournament.java index bc7a2f185f..ff07057ea9 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Tournament.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/Tournament.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.constraintapi; import java.util.Date; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/ValidPassengerCount.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/ValidPassengerCount.java index 6692510c45..db1c212bef 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/ValidPassengerCount.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/ValidPassengerCount.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.constraintapi; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; @@ -23,4 +29,3 @@ Class[] payload() default { }; } - diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/ValidPassengerCountValidator.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/ValidPassengerCountValidator.java index 5f124cda23..dc793fee77 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/ValidPassengerCountValidator.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/constraintapi/ValidPassengerCountValidator.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.constraintapi; import jakarta.validation.ConstraintValidator; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/context/MyFutureValidator.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/context/MyFutureValidator.java index dc6f0d626a..2ee479efdb 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/context/MyFutureValidator.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/context/MyFutureValidator.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter12.context; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/context/MyFutureValidatorMessageParameter.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/context/MyFutureValidatorMessageParameter.java index fbc3863fdf..1a7cbbbb4c 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/context/MyFutureValidatorMessageParameter.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/context/MyFutureValidatorMessageParameter.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter12.context; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/dynamicpayload/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/dynamicpayload/Car.java index b73a4e3061..4f1ac2c1b0 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/dynamicpayload/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/dynamicpayload/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.dynamicpayload; import java.util.ArrayList; @@ -25,4 +31,3 @@ public void addPassenger(Person passenger) { passengers.add( passenger ); } } - diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/dynamicpayload/DynamicPayLoadTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/dynamicpayload/DynamicPayLoadTest.java index 69f9d6ad21..3b3822b113 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/dynamicpayload/DynamicPayLoadTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/dynamicpayload/DynamicPayLoadTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.dynamicpayload; import static org.junit.Assert.assertEquals; @@ -45,4 +51,3 @@ public void testDynamicPayloadAddedToConstraintViolation() throws Exception { //end::include[] } } - diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/dynamicpayload/Person.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/dynamicpayload/Person.java index aaf5b93e17..f4643497df 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/dynamicpayload/Person.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/dynamicpayload/Person.java @@ -1,5 +1,10 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.dynamicpayload; public class Person { } - diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/dynamicpayload/ValidPassengerCount.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/dynamicpayload/ValidPassengerCount.java index c1bf8f198e..3e4ec61fbf 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/dynamicpayload/ValidPassengerCount.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/dynamicpayload/ValidPassengerCount.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.dynamicpayload; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; @@ -23,4 +29,3 @@ Class[] payload() default { }; } - diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/dynamicpayload/ValidPassengerCountValidator.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/dynamicpayload/ValidPassengerCountValidator.java index cff0f2a70c..9edfb8c832 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/dynamicpayload/ValidPassengerCountValidator.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/dynamicpayload/ValidPassengerCountValidator.java @@ -1,3 +1,10 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ +//spotless:off //tag::include[] package org.hibernate.validator.referenceguide.chapter12.dynamicpayload; @@ -11,6 +18,7 @@ import org.hibernate.validator.constraintvalidation.HibernateConstraintValidatorContext; +//spotless:on //tag::include[] public class ValidPassengerCountValidator implements ConstraintValidator { diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/el/ElFeaturesTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/el/ElFeaturesTest.java index 8fc41194fe..a30e353316 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/el/ElFeaturesTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/el/ElFeaturesTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.el; import jakarta.validation.Validation; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/failfast/Car.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/failfast/Car.java index 0f96f5e2fc..1906f8be47 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/failfast/Car.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/failfast/Car.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ // tag::include[] package org.hibernate.validator.referenceguide.chapter12.failfast; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/failfast/FailFastTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/failfast/FailFastTest.java index c3205045ab..bb709f0209 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/failfast/FailFastTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/failfast/FailFastTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.failfast; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/failfastonpropertyviolation/Book.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/failfastonpropertyviolation/Book.java index 3d4f67c672..f71336fa11 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/failfastonpropertyviolation/Book.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/failfastonpropertyviolation/Book.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ // tag::include[] package org.hibernate.validator.referenceguide.chapter12.failfastonpropertyviolation; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/failfastonpropertyviolation/FailFastOnPropertyViolationTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/failfastonpropertyviolation/FailFastOnPropertyViolationTest.java index e413c0401d..d31b8e1548 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/failfastonpropertyviolation/FailFastOnPropertyViolationTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/failfastonpropertyviolation/FailFastOnPropertyViolationTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.failfastonpropertyviolation; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/failfastonpropertyviolation/NonSelfPublishing.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/failfastonpropertyviolation/NonSelfPublishing.java index 71399f207d..cf1ad4f48d 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/failfastonpropertyviolation/NonSelfPublishing.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/failfastonpropertyviolation/NonSelfPublishing.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.failfastonpropertyviolation; import static java.lang.annotation.ElementType.TYPE; @@ -36,4 +42,3 @@ public boolean isValid(Book book, ConstraintValidatorContext context) { } //end::include[] } - diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/failfastonpropertyviolation/Person.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/failfastonpropertyviolation/Person.java index 357a36287b..6e4e21dff3 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/failfastonpropertyviolation/Person.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/failfastonpropertyviolation/Person.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ // tag::include[] package org.hibernate.validator.referenceguide.chapter12.failfastonpropertyviolation; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/getterselectionstrategy/FluentGetterPropertySelectionStrategy.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/getterselectionstrategy/FluentGetterPropertySelectionStrategy.java index 991b001953..7eebee7a58 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/getterselectionstrategy/FluentGetterPropertySelectionStrategy.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/getterselectionstrategy/FluentGetterPropertySelectionStrategy.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter12.getterselectionstrategy; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/getterselectionstrategy/GetterPropertySelectionStrategyTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/getterselectionstrategy/GetterPropertySelectionStrategyTest.java index e0d4079882..b3f5381de1 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/getterselectionstrategy/GetterPropertySelectionStrategyTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/getterselectionstrategy/GetterPropertySelectionStrategyTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.getterselectionstrategy; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/getterselectionstrategy/User.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/getterselectionstrategy/User.java index f89abe02b8..3d26001106 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/getterselectionstrategy/User.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/getterselectionstrategy/User.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ //tag::include[] package org.hibernate.validator.referenceguide.chapter12.getterselectionstrategy; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/localization/LocalizationTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/localization/LocalizationTest.java index f0c3e8b97f..a453910eac 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/localization/LocalizationTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/localization/LocalizationTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.localization; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/nodenameprovider/JacksonPropertyNodeNameProvider.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/nodenameprovider/JacksonPropertyNodeNameProvider.java index 9b876a227b..1a4d268c6d 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/nodenameprovider/JacksonPropertyNodeNameProvider.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/nodenameprovider/JacksonPropertyNodeNameProvider.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.nodenameprovider; //tag::include[] diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/nodenameprovider/JacksonPropertyNodeNameProviderTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/nodenameprovider/JacksonPropertyNodeNameProviderTest.java index 983fc39b56..3b3ef7489b 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/nodenameprovider/JacksonPropertyNodeNameProviderTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/nodenameprovider/JacksonPropertyNodeNameProviderTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.nodenameprovider; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/nodenameprovider/Person.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/nodenameprovider/Person.java index 690f2a87d4..69cd1d718c 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/nodenameprovider/Person.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/nodenameprovider/Person.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.nodenameprovider; import jakarta.validation.constraints.NotNull; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/nodenameprovider/PersonSerializationTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/nodenameprovider/PersonSerializationTest.java index 636e7b050f..e32e052f96 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/nodenameprovider/PersonSerializationTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/nodenameprovider/PersonSerializationTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.nodenameprovider; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/propertypath/Apartment.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/propertypath/Apartment.java index d971fe3038..98ee9fe32d 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/propertypath/Apartment.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/propertypath/Apartment.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.propertypath; import jakarta.validation.Valid; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/propertypath/Building.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/propertypath/Building.java index 0f0ad14955..da26f3fca7 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/propertypath/Building.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/propertypath/Building.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.propertypath; import java.util.HashSet; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/propertypath/Person.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/propertypath/Person.java index c73ec2ee2e..0259d62be0 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/propertypath/Person.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/propertypath/Person.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.propertypath; import jakarta.validation.constraints.Size; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/propertypath/PropertyPathTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/propertypath/PropertyPathTest.java index ddd4cd8b48..319e4200e8 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/propertypath/PropertyPathTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/propertypath/PropertyPathTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.propertypath; import static org.junit.Assert.assertEquals; diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/purelycomposed/ValidInvoiceAmount.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/purelycomposed/ValidInvoiceAmount.java index 218b6677d1..31d9050402 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/purelycomposed/ValidInvoiceAmount.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/purelycomposed/ValidInvoiceAmount.java @@ -1,3 +1,10 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ +//spotless:off // tag::include[] package org.hibernate.validator.referenceguide.chapter12.purelycomposed; @@ -22,6 +29,7 @@ import jakarta.validation.constraintvalidation.SupportedValidationTarget; import jakarta.validation.constraintvalidation.ValidationTarget; +//spotless:on //tag::include[] @Min(value = 0) @NotNull diff --git a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/relaxation/RelaxationTest.java b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/relaxation/RelaxationTest.java index ee6e30bb1a..41fab5e6b1 100644 --- a/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/relaxation/RelaxationTest.java +++ b/documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/relaxation/RelaxationTest.java @@ -1,3 +1,9 @@ +/* + * Hibernate Validator, declare and validate application constraints + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package org.hibernate.validator.referenceguide.chapter12.relaxation; import jakarta.validation.Validation; diff --git a/documentation/src/test/resources/org/hibernate/validator/referenceguide/chapter08/rental-car-mapping.xml b/documentation/src/test/resources/org/hibernate/validator/referenceguide/chapter08/rental-car-mapping.xml index 4121d20cc5..b46dde1e3f 100644 --- a/documentation/src/test/resources/org/hibernate/validator/referenceguide/chapter08/rental-car-mapping.xml +++ b/documentation/src/test/resources/org/hibernate/validator/referenceguide/chapter08/rental-car-mapping.xml @@ -1,58 +1,65 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.referenceguide.chapter05 - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - The car has to pass the vehicle inspection first - - CarChecks - - 10 - - - - - - - RentalCar - CarChecks - - - - - - org.mycompany.CheckCaseValidator - - + org.hibernate.validator.referenceguide.chapter05 + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + The car has to pass the vehicle inspection first + + CarChecks + + 10 + + + + + + + RentalCar + CarChecks + + + + + + org.mycompany.CheckCaseValidator + + diff --git a/documentation/src/test/resources/org/hibernate/validator/referenceguide/chapter08/rental-station-mapping.xml b/documentation/src/test/resources/org/hibernate/validator/referenceguide/chapter08/rental-station-mapping.xml index 07a5c64ac7..6dacb7e93b 100644 --- a/documentation/src/test/resources/org/hibernate/validator/referenceguide/chapter08/rental-station-mapping.xml +++ b/documentation/src/test/resources/org/hibernate/validator/referenceguide/chapter08/rental-station-mapping.xml @@ -1,78 +1,85 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.referenceguide.chapter08 + org.hibernate.validator.referenceguide.chapter08 - - - - - - + + + + + + - - - - - + + + + + - - - - - 1 - - - + + + + + 1 + + + - - - - - - - - - - - 1 - - - + + + + + + + + + + + 1 + + + - - - - - - - - - + + + + + + + + + - - - - - - ... - PARAMETERS - - - - - - - - ... - RETURN_VALUE - - - - + + + + + + ... + PARAMETERS + + + + + + + + ... + RETURN_VALUE + + + + diff --git a/documentation/src/test/resources/org/hibernate/validator/referenceguide/chapter08/validation.xml b/documentation/src/test/resources/org/hibernate/validator/referenceguide/chapter08/validation.xml index 4791c5563f..cdef6c483d 100644 --- a/documentation/src/test/resources/org/hibernate/validator/referenceguide/chapter08/validation.xml +++ b/documentation/src/test/resources/org/hibernate/validator/referenceguide/chapter08/validation.xml @@ -1,31 +1,38 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/configuration" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/configuration + https://jakarta.ee/xml/ns/validation/validation-configuration-3.0.xsd" + version="3.0"> - com.acme.ValidationProvider + com.acme.ValidationProvider - com.acme.MessageInterpolator - com.acme.TraversableResolver - - com.acme.ConstraintValidatorFactory - - com.acme.ParameterNameProvider - com.acme.ClockProvider + com.acme.MessageInterpolator + com.acme.TraversableResolver + + com.acme.ConstraintValidatorFactory + + com.acme.ParameterNameProvider + com.acme.ClockProvider - com.acme.ContainerValueExtractor + com.acme.ContainerValueExtractor - - - CONSTRUCTORS - NON_GETTER_METHODS - GETTER_METHODS - - + + + CONSTRUCTORS + NON_GETTER_METHODS + GETTER_METHODS + + - META-INF/validation/constraints-car.xml + META-INF/validation/constraints-car.xml - false - \ No newline at end of file + false + diff --git a/documentation/src/test/resources/org/hibernate/validator/referenceguide/chapter09/script-evaluator-factory-validation.xml b/documentation/src/test/resources/org/hibernate/validator/referenceguide/chapter09/script-evaluator-factory-validation.xml index 2b4be3f630..23fe396f61 100644 --- a/documentation/src/test/resources/org/hibernate/validator/referenceguide/chapter09/script-evaluator-factory-validation.xml +++ b/documentation/src/test/resources/org/hibernate/validator/referenceguide/chapter09/script-evaluator-factory-validation.xml @@ -1,12 +1,19 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/configuration" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/configuration + https://jakarta.ee/xml/ns/validation/validation-configuration-3.0.xsd" + version="3.0"> - - org.hibernate.validator.referenceguide.chapter09.CustomScriptEvaluatorFactory - + + org.hibernate.validator.referenceguide.chapter09.CustomScriptEvaluatorFactory + diff --git a/documentation/src/test/resources/org/hibernate/validator/referenceguide/chapter12/fail-fast-on-property-violation-validation.xml b/documentation/src/test/resources/org/hibernate/validator/referenceguide/chapter12/fail-fast-on-property-violation-validation.xml index 827dbe731e..3c9be8964c 100644 --- a/documentation/src/test/resources/org/hibernate/validator/referenceguide/chapter12/fail-fast-on-property-violation-validation.xml +++ b/documentation/src/test/resources/org/hibernate/validator/referenceguide/chapter12/fail-fast-on-property-violation-validation.xml @@ -1,10 +1,17 @@ + + + xmlns="http://xmlns.jcp.org/xml/ns/validation/configuration" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/validation/configuration + http://xmlns.jcp.org/xml/ns/validation/configuration/validation-configuration-2.0.xsd" + version="2.0"> - true + true diff --git a/documentation/src/test/resources/org/hibernate/validator/referenceguide/chapter12/getter-property-selection-strategy-validation.xml b/documentation/src/test/resources/org/hibernate/validator/referenceguide/chapter12/getter-property-selection-strategy-validation.xml index f8d4411f7d..85e23a1bff 100644 --- a/documentation/src/test/resources/org/hibernate/validator/referenceguide/chapter12/getter-property-selection-strategy-validation.xml +++ b/documentation/src/test/resources/org/hibernate/validator/referenceguide/chapter12/getter-property-selection-strategy-validation.xml @@ -1,12 +1,19 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/configuration" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/configuration + https://jakarta.ee/xml/ns/validation/validation-configuration-3.0.xsd" + version="3.0"> - - org.hibernate.validator.referenceguide.chapter12.getterselectionstrategy.NoPrefixGetterPropertySelectionStrategy - + + org.hibernate.validator.referenceguide.chapter12.getterselectionstrategy.NoPrefixGetterPropertySelectionStrategy + diff --git a/engine/pom.xml b/engine/pom.xml index 8d22796cb9..0bced06eca 100644 --- a/engine/pom.xml +++ b/engine/pom.xml @@ -215,13 +215,6 @@ - - maven-checkstyle-plugin - - - de.thetaphi - forbiddenapis - maven-compiler-plugin diff --git a/engine/src/main/java/org/hibernate/validator/constraints/CodePointLength.java b/engine/src/main/java/org/hibernate/validator/constraints/CodePointLength.java index df841d580c..abb92ce11f 100644 --- a/engine/src/main/java/org/hibernate/validator/constraints/CodePointLength.java +++ b/engine/src/main/java/org/hibernate/validator/constraints/CodePointLength.java @@ -114,4 +114,3 @@ public CharSequence normalize(CharSequence value) { } } } - diff --git a/engine/src/main/java/org/hibernate/validator/constraints/Normalized.java b/engine/src/main/java/org/hibernate/validator/constraints/Normalized.java index 1c7844ca1c..6be07dbb3b 100644 --- a/engine/src/main/java/org/hibernate/validator/constraints/Normalized.java +++ b/engine/src/main/java/org/hibernate/validator/constraints/Normalized.java @@ -58,4 +58,3 @@ Normalized[] value(); } } - diff --git a/engine/src/main/java/org/hibernate/validator/constraints/UUID.java b/engine/src/main/java/org/hibernate/validator/constraints/UUID.java index 4b38672bb7..9ad78e3ee2 100644 --- a/engine/src/main/java/org/hibernate/validator/constraints/UUID.java +++ b/engine/src/main/java/org/hibernate/validator/constraints/UUID.java @@ -125,4 +125,3 @@ enum LetterCase { UUID[] value(); } } - diff --git a/engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/hv/kor/KorRRNValidator.java b/engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/hv/kor/KorRRNValidator.java index 0887dd62b8..ac73d5eba4 100644 --- a/engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/hv/kor/KorRRNValidator.java +++ b/engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/hv/kor/KorRRNValidator.java @@ -1,4 +1,3 @@ - /* * Hibernate Validator, declare and validate application constraints * @@ -129,4 +128,3 @@ private static int extractMonth(String rrn) { } } } - diff --git a/engine/src/main/java/org/hibernate/validator/internal/util/logging/LoggerFactory.java b/engine/src/main/java/org/hibernate/validator/internal/util/logging/LoggerFactory.java index 47039ee0c0..4045760c91 100644 --- a/engine/src/main/java/org/hibernate/validator/internal/util/logging/LoggerFactory.java +++ b/engine/src/main/java/org/hibernate/validator/internal/util/logging/LoggerFactory.java @@ -27,4 +27,3 @@ public static Log make(final Lookup creationContext) { private LoggerFactory() { } } - diff --git a/engine/src/test/java/org/hibernate/validator/test/cfg/Marathon.java b/engine/src/test/java/org/hibernate/validator/test/cfg/Marathon.java index 149a61eeba..c2b4c082f3 100644 --- a/engine/src/test/java/org/hibernate/validator/test/cfg/Marathon.java +++ b/engine/src/test/java/org/hibernate/validator/test/cfg/Marathon.java @@ -56,4 +56,3 @@ public boolean addRunner(Runner runner) { return runners.add( runner ); } } - diff --git a/engine/src/test/java/org/hibernate/validator/test/constraints/StartLessThanEnd.java b/engine/src/test/java/org/hibernate/validator/test/constraints/StartLessThanEnd.java index ec6167d80f..ab315cb8eb 100644 --- a/engine/src/test/java/org/hibernate/validator/test/constraints/StartLessThanEnd.java +++ b/engine/src/test/java/org/hibernate/validator/test/constraints/StartLessThanEnd.java @@ -27,4 +27,3 @@ Class[] payload() default { }; } - diff --git a/engine/src/test/java/org/hibernate/validator/test/constraints/Suburb.java b/engine/src/test/java/org/hibernate/validator/test/constraints/Suburb.java index d71dbb7bf0..fdb9820420 100644 --- a/engine/src/test/java/org/hibernate/validator/test/constraints/Suburb.java +++ b/engine/src/test/java/org/hibernate/validator/test/constraints/Suburb.java @@ -83,4 +83,3 @@ public void setBoundingBox(Coordinate[] boundingBox) { this.boundingBox = boundingBox; } } - diff --git a/engine/src/test/java/org/hibernate/validator/test/constraints/boolcomposition/BoolCompositeConstraintTest.java b/engine/src/test/java/org/hibernate/validator/test/constraints/boolcomposition/BoolCompositeConstraintTest.java index 022fe0feb5..bb2edbe5ef 100644 --- a/engine/src/test/java/org/hibernate/validator/test/constraints/boolcomposition/BoolCompositeConstraintTest.java +++ b/engine/src/test/java/org/hibernate/validator/test/constraints/boolcomposition/BoolCompositeConstraintTest.java @@ -129,4 +129,3 @@ public void testCorrectAnnotationTypeWithBoolAllFalse() { ); } } - diff --git a/engine/src/test/java/org/hibernate/validator/test/constraints/composition/basic/CompositeConstraintTest.java b/engine/src/test/java/org/hibernate/validator/test/constraints/composition/basic/CompositeConstraintTest.java index bf54ebbffe..40619a67d4 100644 --- a/engine/src/test/java/org/hibernate/validator/test/constraints/composition/basic/CompositeConstraintTest.java +++ b/engine/src/test/java/org/hibernate/validator/test/constraints/composition/basic/CompositeConstraintTest.java @@ -82,4 +82,3 @@ public void testCorrectAnnotationTypeReportMultipleViolations() { } } } - diff --git a/engine/src/test/java/org/hibernate/validator/test/constraints/composition/lazyevaluation/InvocationCountingValidator.java b/engine/src/test/java/org/hibernate/validator/test/constraints/composition/lazyevaluation/InvocationCountingValidator.java index bb66cb185c..656c934f66 100644 --- a/engine/src/test/java/org/hibernate/validator/test/constraints/composition/lazyevaluation/InvocationCountingValidator.java +++ b/engine/src/test/java/org/hibernate/validator/test/constraints/composition/lazyevaluation/InvocationCountingValidator.java @@ -21,4 +21,3 @@ public boolean isValid(Object o, ConstraintValidatorContext constraintValidatorC return false; } } - diff --git a/engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/AssertTrueValidatorTest.java b/engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/AssertTrueValidatorTest.java index 6631c32ff5..695ba23aae 100644 --- a/engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/AssertTrueValidatorTest.java +++ b/engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/AssertTrueValidatorTest.java @@ -35,4 +35,3 @@ public void testIsValid() { assertFalse( constraint.isValid( Boolean.FALSE, null ) ); } } - diff --git a/engine/src/test/java/org/hibernate/validator/test/internal/engine/groups/redefiningdefaultgroup/Person.java b/engine/src/test/java/org/hibernate/validator/test/internal/engine/groups/redefiningdefaultgroup/Person.java index c4e4b61d91..4908a46eef 100644 --- a/engine/src/test/java/org/hibernate/validator/test/internal/engine/groups/redefiningdefaultgroup/Person.java +++ b/engine/src/test/java/org/hibernate/validator/test/internal/engine/groups/redefiningdefaultgroup/Person.java @@ -28,4 +28,3 @@ public void setName(String name) { this.name = name; } } - diff --git a/engine/src/test/java/org/hibernate/validator/test/internal/engine/methodvalidation/cascadedgroupvalidation/CascadedMethodLevelValidationGroupSequenceTest.java b/engine/src/test/java/org/hibernate/validator/test/internal/engine/methodvalidation/cascadedgroupvalidation/CascadedMethodLevelValidationGroupSequenceTest.java index d2b46e023a..4ce9ea2309 100644 --- a/engine/src/test/java/org/hibernate/validator/test/internal/engine/methodvalidation/cascadedgroupvalidation/CascadedMethodLevelValidationGroupSequenceTest.java +++ b/engine/src/test/java/org/hibernate/validator/test/internal/engine/methodvalidation/cascadedgroupvalidation/CascadedMethodLevelValidationGroupSequenceTest.java @@ -185,4 +185,3 @@ private void cascadedReturnValueConstraintInBothGroups() { } } } - diff --git a/engine/src/test/java/org/hibernate/validator/test/internal/engine/serialization/CustomConstraintSerializableTest.java b/engine/src/test/java/org/hibernate/validator/test/internal/engine/serialization/CustomConstraintSerializableTest.java index be0ee2e20e..2bdea366ca 100644 --- a/engine/src/test/java/org/hibernate/validator/test/internal/engine/serialization/CustomConstraintSerializableTest.java +++ b/engine/src/test/java/org/hibernate/validator/test/internal/engine/serialization/CustomConstraintSerializableTest.java @@ -66,4 +66,3 @@ static class CustomEmail implements Serializable { } } - diff --git a/engine/src/test/java/org/hibernate/validator/test/internal/engine/valueextraction/NestedTypeArgumentsValueExtractorTest.java b/engine/src/test/java/org/hibernate/validator/test/internal/engine/valueextraction/NestedTypeArgumentsValueExtractorTest.java index fc23f6c803..ddf6536752 100644 --- a/engine/src/test/java/org/hibernate/validator/test/internal/engine/valueextraction/NestedTypeArgumentsValueExtractorTest.java +++ b/engine/src/test/java/org/hibernate/validator/test/internal/engine/valueextraction/NestedTypeArgumentsValueExtractorTest.java @@ -32,6 +32,7 @@ import javafx.beans.property.SimpleStringProperty; import javafx.beans.property.StringProperty; + import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; diff --git a/engine/src/test/java/org/hibernate/validator/test/parameternameprovider/DefaultParameterNameProviderTest.java b/engine/src/test/java/org/hibernate/validator/test/parameternameprovider/DefaultParameterNameProviderTest.java index 11bbd10c8d..1452081981 100644 --- a/engine/src/test/java/org/hibernate/validator/test/parameternameprovider/DefaultParameterNameProviderTest.java +++ b/engine/src/test/java/org/hibernate/validator/test/parameternameprovider/DefaultParameterNameProviderTest.java @@ -107,4 +107,3 @@ public void foo(String bar, String baz) { } } } - diff --git a/engine/src/test/resources/org/hibernate/validator/test/cfg/ConfigurationFilePropertiesTest_validation.xml b/engine/src/test/resources/org/hibernate/validator/test/cfg/ConfigurationFilePropertiesTest_validation.xml index 97528ae36e..da80598f41 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/cfg/ConfigurationFilePropertiesTest_validation.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/cfg/ConfigurationFilePropertiesTest_validation.xml @@ -1,20 +1,20 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> - org.hibernate.validator.HibernateValidator + xmlns="https://jakarta.ee/xml/ns/validation/configuration" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/configuration + https://jakarta.ee/xml/ns/validation/validation-configuration-3.0.xsd" + version="3.0"> + org.hibernate.validator.HibernateValidator - true - true - true - true + true + true + true + true diff --git a/engine/src/test/resources/org/hibernate/validator/test/cfg/ConstraintDefinitionTest_mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/cfg/ConstraintDefinitionTest_mapping.xml index 402d98d647..32053aee73 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/cfg/ConstraintDefinitionTest_mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/cfg/ConstraintDefinitionTest_mapping.xml @@ -1,20 +1,20 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation= + "https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - - - org.hibernate.validator.test.cfg.ConstraintDefinitionTest$NonDefaultLongValidator - - + + + org.hibernate.validator.test.cfg.ConstraintDefinitionTest$NonDefaultLongValidator + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/cfg/constraint-mapping-contributors-validation.xml b/engine/src/test/resources/org/hibernate/validator/test/cfg/constraint-mapping-contributors-validation.xml index d8de3607d7..8d959ffe5d 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/cfg/constraint-mapping-contributors-validation.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/cfg/constraint-mapping-contributors-validation.xml @@ -1,15 +1,15 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/configuration" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/configuration https://jakarta.ee/xml/ns/validation/validation-configuration-3.0.xsd" + version="3.0"> - org.hibernate.validator.test.cfg.ConstraintMappingContributorConfiguredInValidationXmlTest$MyConstraintMappingContributor1,org.hibernate.validator.test.cfg.ConstraintMappingContributorConfiguredInValidationXmlTest$MyConstraintMappingContributor2 + org.hibernate.validator.test.cfg.ConstraintMappingContributorConfiguredInValidationXmlTest$MyConstraintMappingContributor1,org.hibernate.validator.test.cfg.ConstraintMappingContributorConfiguredInValidationXmlTest$MyConstraintMappingContributor2 diff --git a/engine/src/test/resources/org/hibernate/validator/test/el/validation-constraints-bean-methods.xml b/engine/src/test/resources/org/hibernate/validator/test/el/validation-constraints-bean-methods.xml index 671eed5699..f93e0c3b92 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/el/validation-constraints-bean-methods.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/el/validation-constraints-bean-methods.xml @@ -1,16 +1,16 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="http://xmlns.jcp.org/xml/ns/validation/configuration" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/validation/configuration + http://xmlns.jcp.org/xml/ns/validation/configuration/validation-configuration-2.0.xsd" + version="2.0"> - bean-methods + bean-methods diff --git a/engine/src/test/resources/org/hibernate/validator/test/el/validation-constraints-default.xml b/engine/src/test/resources/org/hibernate/validator/test/el/validation-constraints-default.xml index cc05e3311c..01894cafa9 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/el/validation-constraints-default.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/el/validation-constraints-default.xml @@ -1,16 +1,16 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="http://xmlns.jcp.org/xml/ns/validation/configuration" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/validation/configuration + http://xmlns.jcp.org/xml/ns/validation/configuration/validation-configuration-2.0.xsd" + version="2.0"> - default + default diff --git a/engine/src/test/resources/org/hibernate/validator/test/el/validation-custom-violations-bean-methods.xml b/engine/src/test/resources/org/hibernate/validator/test/el/validation-custom-violations-bean-methods.xml index ecd0155803..d0e723a032 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/el/validation-custom-violations-bean-methods.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/el/validation-custom-violations-bean-methods.xml @@ -1,16 +1,16 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="http://xmlns.jcp.org/xml/ns/validation/configuration" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/validation/configuration + http://xmlns.jcp.org/xml/ns/validation/configuration/validation-configuration-2.0.xsd" + version="2.0"> - bean-methods + bean-methods diff --git a/engine/src/test/resources/org/hibernate/validator/test/el/validation-custom-violations-default.xml b/engine/src/test/resources/org/hibernate/validator/test/el/validation-custom-violations-default.xml index 62a07bde5a..793e15824a 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/el/validation-custom-violations-default.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/el/validation-custom-violations-default.xml @@ -1,16 +1,16 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="http://xmlns.jcp.org/xml/ns/validation/configuration" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/validation/configuration + http://xmlns.jcp.org/xml/ns/validation/configuration/validation-configuration-2.0.xsd" + version="2.0"> - default + default diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/constraintvalidators/hv/mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/constraintvalidators/hv/mapping.xml index 2fa844fcec..0be56cf30c 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/constraintvalidators/hv/mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/constraintvalidators/hv/mapping.xml @@ -1,20 +1,20 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation= + "https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - - - org.hibernate.validator.constraintvalidators.RegexpURLValidator - - + + + org.hibernate.validator.constraintvalidators.RegexpURLValidator + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/cascaded/multiple-value-extractors-for-same-type-and-type-use-validation.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/cascaded/multiple-value-extractors-for-same-type-and-type-use-validation.xml index ee98a570f5..9aa68585c9 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/cascaded/multiple-value-extractors-for-same-type-and-type-use-validation.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/cascaded/multiple-value-extractors-for-same-type-and-type-use-validation.xml @@ -1,17 +1,17 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/configuration" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/configuration + https://jakarta.ee/xml/ns/validation/validation-configuration-3.0.xsd" + version="3.0"> - org.hibernate.validator.test.internal.engine.cascaded.CustomValueExtractorTest$GuavaOptionalValueExtractor1 - org.hibernate.validator.test.internal.engine.cascaded.CustomValueExtractorTest$GuavaOptionalValueExtractor2 + org.hibernate.validator.test.internal.engine.cascaded.CustomValueExtractorTest$GuavaOptionalValueExtractor1 + org.hibernate.validator.test.internal.engine.cascaded.CustomValueExtractorTest$GuavaOptionalValueExtractor2 diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/cascaded/value-extractor-duplicated-validation.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/cascaded/value-extractor-duplicated-validation.xml index 1d662b1c2f..343b4b371a 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/cascaded/value-extractor-duplicated-validation.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/cascaded/value-extractor-duplicated-validation.xml @@ -1,17 +1,17 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/configuration" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/configuration + https://jakarta.ee/xml/ns/validation/validation-configuration-3.0.xsd" + version="3.0"> - org.hibernate.validator.test.internal.engine.cascaded.MultimapValueExtractor - org.hibernate.validator.test.internal.engine.cascaded.MultimapValueExtractor + org.hibernate.validator.test.internal.engine.cascaded.MultimapValueExtractor + org.hibernate.validator.test.internal.engine.cascaded.MultimapValueExtractor diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/cascaded/value-extractor-validation.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/cascaded/value-extractor-validation.xml index c505423735..be5adf36eb 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/cascaded/value-extractor-validation.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/cascaded/value-extractor-validation.xml @@ -1,17 +1,17 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/configuration" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/configuration + https://jakarta.ee/xml/ns/validation/validation-configuration-3.0.xsd" + version="3.0"> - org.hibernate.validator.test.internal.engine.cascaded.MultimapValueExtractor - org.hibernate.validator.test.internal.engine.cascaded.CustomValueExtractorTest$GuavaOptionalValueExtractor1 + org.hibernate.validator.test.internal.engine.cascaded.MultimapValueExtractor + org.hibernate.validator.test.internal.engine.cascaded.CustomValueExtractorTest$GuavaOptionalValueExtractor1 diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/constraintvalidation/hv-1589-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/constraintvalidation/hv-1589-mapping.xml index 2d3087b38c..7108daf077 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/constraintvalidation/hv-1589-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/constraintvalidation/hv-1589-mapping.xml @@ -1,32 +1,32 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation= + "https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - - - - - - - 5 - 10 - - - - - 5 - 50 - - - + + + + + + + 5 + 10 + + + + + 5 + 50 + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/constraintvalidation/hv-662-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/constraintvalidation/hv-662-mapping.xml index 2d3087b38c..7108daf077 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/constraintvalidation/hv-662-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/constraintvalidation/hv-662-mapping.xml @@ -1,32 +1,32 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation= + "https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - - - - - - - 5 - 10 - - - - - 5 - 50 - - - + + + + + + + 5 + 10 + + + + + 5 + 50 + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/groups/conversion/group-conversion-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/groups/conversion/group-conversion-mapping.xml index e4be716afa..3cb1aa66a2 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/groups/conversion/group-conversion-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/groups/conversion/group-conversion-mapping.xml @@ -1,114 +1,114 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation= + "https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" version="3.0"> - org.hibernate.validator.test.internal.engine.groups.conversion + org.hibernate.validator.test.internal.engine.groups.conversion - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - - + + + + + + + - - - - - - - + + + + + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + - - - - - AbstractGroupConversionTest$BasicPostal - - - - - - - - - - - AbstractGroupConversionTest$BasicPostal - - 3 - - - - - - AbstractGroupConversionTest$FullPostal - - 2 - - - - - - - - AbstractGroupConversionTest$BasicNumber - - - - + + + + + AbstractGroupConversionTest$BasicPostal + + + + + + + + + + + AbstractGroupConversionTest$BasicPostal + + 3 + + + + + + AbstractGroupConversionTest$FullPostal + + 2 + + + + + + + + AbstractGroupConversionTest$BasicNumber + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/groups/conversion/invalid-group-conversion-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/groups/conversion/invalid-group-conversion-mapping.xml index 634659b3bc..596e62fe15 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/groups/conversion/invalid-group-conversion-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/groups/conversion/invalid-group-conversion-mapping.xml @@ -1,24 +1,24 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation= + "https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" version="3.0"> - org.hibernate.validator.test.internal.engine.groups.conversion - - - - - - + org.hibernate.validator.test.internal.engine.groups.conversion + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/mapping.xml index a426430d6c..449639ff33 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/mapping.xml @@ -1,16 +1,16 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation= + "https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.test.internal.engine + org.hibernate.validator.test.internal.engine diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/messageinterpolation/locale-resolver-validation.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/messageinterpolation/locale-resolver-validation.xml index a6e5ac6fea..8717c19827 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/messageinterpolation/locale-resolver-validation.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/messageinterpolation/locale-resolver-validation.xml @@ -1,16 +1,16 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/configuration" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/configuration + https://jakarta.ee/xml/ns/validation/validation-configuration-3.0.xsd" + version="3.0"> - org.hibernate.validator.test.internal.engine.messageinterpolation.LocaleResolverTest$StaticFieldLocaleResolver + org.hibernate.validator.test.internal.engine.messageinterpolation.LocaleResolverTest$StaticFieldLocaleResolver diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/constructor-validation-ignore-annotations.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/constructor-validation-ignore-annotations.xml index 60096f2026..fd089cce88 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/constructor-validation-ignore-annotations.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/constructor-validation-ignore-annotations.xml @@ -1,25 +1,25 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation= + "https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" version="3.0"> - - + + - - - + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/constructor-validation-invalid-parameter-type.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/constructor-validation-invalid-parameter-type.xml index 73f5719399..e2f94cb2bc 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/constructor-validation-invalid-parameter-type.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/constructor-validation-invalid-parameter-type.xml @@ -1,37 +1,37 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation= + "https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" version="3.0"> - - + + - - - - - - xml configured not null constraint - - - - - - - + + + + + + xml configured not null constraint + + + + + + + - + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/constructor-validation-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/constructor-validation-mapping.xml index dc47a76391..52c002c539 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/constructor-validation-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/constructor-validation-mapping.xml @@ -1,60 +1,60 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation= + "https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" version="3.0"> - - - - - [XML] - must not be null - - - + + + + + [XML] - must not be null + + + - - - - - [XML] - must not be null - - - - - - [XML] - {ValidB2BRepository.message} - - - - - - - - - - - - [XML] - must not be null - - - - - - - + + + + + [XML] - must not be null + + + + + + [XML] - {ValidB2BRepository.message} + + + + + + + + + + + + [XML] - must not be null + + + + + + + - + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/ignore-annotations-for-cross-parameter-constraints.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/ignore-annotations-for-cross-parameter-constraints.xml index f159455824..68d36525e8 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/ignore-annotations-for-cross-parameter-constraints.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/ignore-annotations-for-cross-parameter-constraints.xml @@ -1,30 +1,30 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation= + "https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" version="3.0"> - + - - - - - + + + + + - - - - - - + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/method-validation-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/method-validation-mapping.xml index 1280e94c53..82b3450298 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/method-validation-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/method-validation-mapping.xml @@ -1,226 +1,226 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> - - org.hibernate.validator.test.internal.engine.methodvalidation.service - - - - - [XML] - must not be null - - - - - - - - - - - [XML] - must not be null - - - - - - - - - [XML] - must be greater than or equal to 5 - 5 - - - - - - - - - [XML] - must not be null - - - - - - - - - [XML] - must not be null - - - - - - - - - - - - - - - - - - - - - - - - [XML] - must not be null - - - - - - - - [XML] - must not be null - - - - - - - - - - - [XML] - must be greater than or equal to 5 - 5 - - - - - [XML] - must not be null - - - - - - - - [XML] - must not be null - - - - - [XML] - must not be null - - - - - [XML] - {ConsistentDateParameters.message} - - - - - - - - [XML] - must not be null - - - - - - - - [XML] - must be greater than or equal to 10 - 10 - - - - - - - - [XML] - must be greater than or equal to 10 - 10 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [XML] - must not be null - - - org.hibernate.validator.test.internal.engine.methodvalidation.service.CustomerRepository$ValidationGroup - - - - - - - - - - - - [XML] - must be greater than or equal to 10 - 10 - - - - + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation= + "https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" version="3.0"> + + org.hibernate.validator.test.internal.engine.methodvalidation.service + + + + + [XML] - must not be null + + + + + + + + + + + [XML] - must not be null + + + + + + + + + [XML] - must be greater than or equal to 5 + 5 + + + + + + + + + [XML] - must not be null + + + + + + + + + [XML] - must not be null + + + + + + + + + + + + + + + + + + + + + + + + [XML] - must not be null + + + + + + + + [XML] - must not be null + + + + + + + + + + + [XML] - must be greater than or equal to 5 + 5 + + + + + [XML] - must not be null + + + + + + + + [XML] - must not be null + + + + + [XML] - must not be null + + + + + [XML] - {ConsistentDateParameters.message} + + + + + + + + [XML] - must not be null + + + + + + + + [XML] - must be greater than or equal to 10 + 10 + + + + + + + + [XML] - must be greater than or equal to 10 + 10 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [XML] - must not be null + + + org.hibernate.validator.test.internal.engine.methodvalidation.service.CustomerRepository$ValidationGroup + + + + + + + + + + + + [XML] - must be greater than or equal to 10 + 10 + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/primitive-types-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/primitive-types-mapping.xml index 9684e480ce..a8f484f9ac 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/primitive-types-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/primitive-types-mapping.xml @@ -1,65 +1,65 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation= + "https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" version="3.0"> - - - - - - + + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/same-constructor-defined-twice.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/same-constructor-defined-twice.xml index 5a2b80eebc..24a6eb3e7e 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/same-constructor-defined-twice.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/same-constructor-defined-twice.xml @@ -1,24 +1,24 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation= + "https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" version="3.0"> - - - - - - - - + + + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/same-method-defined-twice.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/same-method-defined-twice.xml index 0beefbf7f4..5d752ed770 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/same-method-defined-twice.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/methodvalidation/xml/same-method-defined-twice.xml @@ -1,27 +1,27 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation= + "https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" version="3.0"> - org.hibernate.validator.test.internal.engine.methodvalidation.service - - - - - + org.hibernate.validator.test.internal.engine.methodvalidation.service + + + + + - - - - - + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/traversableresolver/validation-CachedTraversableResolverTest.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/traversableresolver/validation-CachedTraversableResolverTest.xml index 04d2b786b5..d9f10aab91 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/engine/traversableresolver/validation-CachedTraversableResolverTest.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/engine/traversableresolver/validation-CachedTraversableResolverTest.xml @@ -1,16 +1,16 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/configuration" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/configuration + https://jakarta.ee/xml/ns/validation/validation-configuration-3.0.xsd" + version="3.0"> - false + false diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/array-and-vararg-parameter-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/array-and-vararg-parameter-mapping.xml index 25f8d06177..374acb9652 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/array-and-vararg-parameter-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/array-and-vararg-parameter-mapping.xml @@ -1,29 +1,29 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation= + "https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" version="3.0"> - org.hibernate.validator.test.internal.xml - - - - - - + org.hibernate.validator.test.internal.xml + + + + + + - - - - - - + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/bv-1.0-validation.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/bv-1.0-validation.xml index 32cc7fc8ff..438d6f2a7e 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/bv-1.0-validation.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/bv-1.0-validation.xml @@ -1,14 +1,14 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="http://jboss.org/xml/ns/javax/validation/configuration" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://jboss.org/xml/ns/javax/validation/configuration validation-configuration-1.0.xsd"> - failOnError + failOnError diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/cascaded-validation-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/cascaded-validation-mapping.xml index 7a75b9e94c..367974035e 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/cascaded-validation-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/cascaded-validation-mapping.xml @@ -1,24 +1,24 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation= + "https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml + org.hibernate.validator.internal.xml - - - - - + + + + + - + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/constrainttarget/hv-769-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/constrainttarget/hv-769-mapping.xml index d6b5d1a5af..915f909548 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/constrainttarget/hv-769-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/constrainttarget/hv-769-mapping.xml @@ -1,42 +1,42 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.test.internal.xml.constrainttarget + org.hibernate.validator.test.internal.xml.constrainttarget - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-canDeclareContainerElementTypeConstraintsForArrayType-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-canDeclareContainerElementTypeConstraintsForArrayType-mapping.xml index 39c9d779a1..4271a82724 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-canDeclareContainerElementTypeConstraintsForArrayType-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-canDeclareContainerElementTypeConstraintsForArrayType-mapping.xml @@ -1,21 +1,28 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - 5 - - - - - + + + + + + 5 + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-canDeclareContainerElementTypeConstraintsForListContainingArrayType-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-canDeclareContainerElementTypeConstraintsForListContainingArrayType-mapping.xml index fa5b41f5d7..b507f65da4 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-canDeclareContainerElementTypeConstraintsForListContainingArrayType-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-canDeclareContainerElementTypeConstraintsForListContainingArrayType-mapping.xml @@ -1,23 +1,30 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - 5 - - - - - - - \ No newline at end of file + + + + + + + 5 + + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-canDeclareContainerElementTypeConstraintsForMultiDimensionalArrayType-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-canDeclareContainerElementTypeConstraintsForMultiDimensionalArrayType-mapping.xml index 9c6d8f0efd..77d235ae45 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-canDeclareContainerElementTypeConstraintsForMultiDimensionalArrayType-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-canDeclareContainerElementTypeConstraintsForMultiDimensionalArrayType-mapping.xml @@ -1,23 +1,30 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - 5 - - - - - - - \ No newline at end of file + + + + + + + 5 + + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-configuringSameContainerElementTwiceCausesException-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-configuringSameContainerElementTwiceCausesException-mapping.xml index cf358edcd9..73591b2571 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-configuringSameContainerElementTwiceCausesException-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-configuringSameContainerElementTwiceCausesException-mapping.xml @@ -1,27 +1,34 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-declaringContainerElementTypeConstraintForNonExistingNestedTypeArgumentIndexOnFieldCausesException-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-declaringContainerElementTypeConstraintForNonExistingNestedTypeArgumentIndexOnFieldCausesException-mapping.xml index ab3c709267..e2ba3d2a1b 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-declaringContainerElementTypeConstraintForNonExistingNestedTypeArgumentIndexOnFieldCausesException-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-declaringContainerElementTypeConstraintForNonExistingNestedTypeArgumentIndexOnFieldCausesException-mapping.xml @@ -1,18 +1,25 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - - + + + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-declaringContainerElementTypeConstraintForNonExistingTypeArgumentIndexOnFieldCausesException-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-declaringContainerElementTypeConstraintForNonExistingTypeArgumentIndexOnFieldCausesException-mapping.xml index f5bfd06f61..d07108a5bb 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-declaringContainerElementTypeConstraintForNonExistingTypeArgumentIndexOnFieldCausesException-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-declaringContainerElementTypeConstraintForNonExistingTypeArgumentIndexOnFieldCausesException-mapping.xml @@ -1,16 +1,23 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-declaringContainerElementTypeConstraintOnNonGenericFieldCausesException-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-declaringContainerElementTypeConstraintOnNonGenericFieldCausesException-mapping.xml index 1a887c7a1b..52410fd6dd 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-declaringContainerElementTypeConstraintOnNonGenericFieldCausesException-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-declaringContainerElementTypeConstraintOnNonGenericFieldCausesException-mapping.xml @@ -1,16 +1,24 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-omittingTypeArgumentForMultiTypeArgumentTypeOnFieldCausesException-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-omittingTypeArgumentForMultiTypeArgumentTypeOnFieldCausesException-mapping.xml index 574009e93f..ce6f8eba06 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-omittingTypeArgumentForMultiTypeArgumentTypeOnFieldCausesException-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/field-omittingTypeArgumentForMultiTypeArgumentTypeOnFieldCausesException-mapping.xml @@ -1,15 +1,22 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-canDeclareContainerElementTypeConstraintsForArrayType-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-canDeclareContainerElementTypeConstraintsForArrayType-mapping.xml index d580d6f2fa..463d49651c 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-canDeclareContainerElementTypeConstraintsForArrayType-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-canDeclareContainerElementTypeConstraintsForArrayType-mapping.xml @@ -1,21 +1,28 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - 5 - - - - - + + + + + + 5 + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-canDeclareContainerElementTypeConstraintsForListContainingArrayType-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-canDeclareContainerElementTypeConstraintsForListContainingArrayType-mapping.xml index 3d95d9139c..390e1f26a3 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-canDeclareContainerElementTypeConstraintsForListContainingArrayType-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-canDeclareContainerElementTypeConstraintsForListContainingArrayType-mapping.xml @@ -1,23 +1,30 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - 5 - - - - - - - \ No newline at end of file + + + + + + + 5 + + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-canDeclareContainerElementTypeConstraintsForMultiDimensionalArrayType-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-canDeclareContainerElementTypeConstraintsForMultiDimensionalArrayType-mapping.xml index 0fad35d37d..a09ee79e45 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-canDeclareContainerElementTypeConstraintsForMultiDimensionalArrayType-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-canDeclareContainerElementTypeConstraintsForMultiDimensionalArrayType-mapping.xml @@ -1,23 +1,30 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - 5 - - - - - - - \ No newline at end of file + + + + + + + 5 + + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-configuringSameContainerElementTwiceCausesException-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-configuringSameContainerElementTwiceCausesException-mapping.xml index f4dab0da31..ffa64b023b 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-configuringSameContainerElementTwiceCausesException-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-configuringSameContainerElementTwiceCausesException-mapping.xml @@ -1,27 +1,34 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-declaringContainerElementTypeConstraintForNonExistingNestedTypeArgumentIndexOnFieldCausesException-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-declaringContainerElementTypeConstraintForNonExistingNestedTypeArgumentIndexOnFieldCausesException-mapping.xml index 1ecb61da63..2d00c48475 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-declaringContainerElementTypeConstraintForNonExistingNestedTypeArgumentIndexOnFieldCausesException-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-declaringContainerElementTypeConstraintForNonExistingNestedTypeArgumentIndexOnFieldCausesException-mapping.xml @@ -1,18 +1,25 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - - + + + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-declaringContainerElementTypeConstraintForNonExistingTypeArgumentIndexOnFieldCausesException-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-declaringContainerElementTypeConstraintForNonExistingTypeArgumentIndexOnFieldCausesException-mapping.xml index eda1306948..28d3de2189 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-declaringContainerElementTypeConstraintForNonExistingTypeArgumentIndexOnFieldCausesException-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-declaringContainerElementTypeConstraintForNonExistingTypeArgumentIndexOnFieldCausesException-mapping.xml @@ -1,16 +1,23 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-declaringContainerElementTypeConstraintOnNonGenericFieldCausesException-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-declaringContainerElementTypeConstraintOnNonGenericFieldCausesException-mapping.xml index 1bec474d61..bab2aefbb8 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-declaringContainerElementTypeConstraintOnNonGenericFieldCausesException-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-declaringContainerElementTypeConstraintOnNonGenericFieldCausesException-mapping.xml @@ -1,16 +1,23 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-omittingTypeArgumentForMultiTypeArgumentTypeOnFieldCausesException-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-omittingTypeArgumentForMultiTypeArgumentTypeOnFieldCausesException-mapping.xml index ac4b58da20..f8188c91f7 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-omittingTypeArgumentForMultiTypeArgumentTypeOnFieldCausesException-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/getter-omittingTypeArgumentForMultiTypeArgumentTypeOnFieldCausesException-mapping.xml @@ -1,15 +1,22 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-canDeclareContainerElementTypeConstraintsForArrayType-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-canDeclareContainerElementTypeConstraintsForArrayType-mapping.xml index ae5d08fa2a..1565dd0c10 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-canDeclareContainerElementTypeConstraintsForArrayType-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-canDeclareContainerElementTypeConstraintsForArrayType-mapping.xml @@ -1,23 +1,30 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - 5 - - - - - - + + + + + + + 5 + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-canDeclareContainerElementTypeConstraintsForListContainingArrayType-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-canDeclareContainerElementTypeConstraintsForListContainingArrayType-mapping.xml index 69a7576d28..3ea6a9d15f 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-canDeclareContainerElementTypeConstraintsForListContainingArrayType-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-canDeclareContainerElementTypeConstraintsForListContainingArrayType-mapping.xml @@ -1,25 +1,32 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - - 5 - - - - - - - - \ No newline at end of file + + + + + + + + 5 + + + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-canDeclareContainerElementTypeConstraintsForMultiDimensionalArrayType-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-canDeclareContainerElementTypeConstraintsForMultiDimensionalArrayType-mapping.xml index dc89425915..0263b21ae8 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-canDeclareContainerElementTypeConstraintsForMultiDimensionalArrayType-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-canDeclareContainerElementTypeConstraintsForMultiDimensionalArrayType-mapping.xml @@ -1,25 +1,32 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - - 5 - - - - - - - - \ No newline at end of file + + + + + + + + 5 + + + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-configuringConstraintsOnGenericTypeArgumentOfArrayThrowsException-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-configuringConstraintsOnGenericTypeArgumentOfArrayThrowsException-mapping.xml index 7ed4a5bdb3..e8bc892177 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-configuringConstraintsOnGenericTypeArgumentOfArrayThrowsException-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-configuringConstraintsOnGenericTypeArgumentOfArrayThrowsException-mapping.xml @@ -1,23 +1,30 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - 5 - - - - - - + + + + + + + 5 + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-configuringConstraintsOnGenericTypeArgumentOfListThrowsException-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-configuringConstraintsOnGenericTypeArgumentOfListThrowsException-mapping.xml index b2dc25d694..4e9e6684d1 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-configuringConstraintsOnGenericTypeArgumentOfListThrowsException-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-configuringConstraintsOnGenericTypeArgumentOfListThrowsException-mapping.xml @@ -1,23 +1,30 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - 5 - - - - - - + + + + + + + 5 + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-configuringSameContainerElementTwiceCausesException-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-configuringSameContainerElementTwiceCausesException-mapping.xml index 3b98738f54..ed979b8933 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-configuringSameContainerElementTwiceCausesException-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-configuringSameContainerElementTwiceCausesException-mapping.xml @@ -1,29 +1,36 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-declaringContainerElementTypeConstraintForNonExistingNestedTypeArgumentIndexOnParameterCausesException-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-declaringContainerElementTypeConstraintForNonExistingNestedTypeArgumentIndexOnParameterCausesException-mapping.xml index 41f3a40c6f..9fdf9f0f89 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-declaringContainerElementTypeConstraintForNonExistingNestedTypeArgumentIndexOnParameterCausesException-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-declaringContainerElementTypeConstraintForNonExistingNestedTypeArgumentIndexOnParameterCausesException-mapping.xml @@ -1,20 +1,27 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - - - - + + + + + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-declaringContainerElementTypeConstraintForNonExistingTypeArgumentIndexOnParameterCausesException-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-declaringContainerElementTypeConstraintForNonExistingTypeArgumentIndexOnParameterCausesException-mapping.xml index 7dd267d392..9b8075c7c3 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-declaringContainerElementTypeConstraintForNonExistingTypeArgumentIndexOnParameterCausesException-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-declaringContainerElementTypeConstraintForNonExistingTypeArgumentIndexOnParameterCausesException-mapping.xml @@ -1,20 +1,27 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - - - - + + + + + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-declaringContainerElementTypeConstraintOnNonGenericParameterCausesException-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-declaringContainerElementTypeConstraintOnNonGenericParameterCausesException-mapping.xml index 43705ad927..c4a8a5d48f 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-declaringContainerElementTypeConstraintOnNonGenericParameterCausesException-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-declaringContainerElementTypeConstraintOnNonGenericParameterCausesException-mapping.xml @@ -1,18 +1,25 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - - + + + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-omittingTypeArgumentForMultiTypeArgumentTypeOnParameterCausesException-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-omittingTypeArgumentForMultiTypeArgumentTypeOnParameterCausesException-mapping.xml index 2d079c50a9..7fe0f184f4 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-omittingTypeArgumentForMultiTypeArgumentTypeOnParameterCausesException-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/parameter-omittingTypeArgumentForMultiTypeArgumentTypeOnParameterCausesException-mapping.xml @@ -1,19 +1,26 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - - - + + + + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-canDeclareContainerElementTypeConstraintsForArrayType-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-canDeclareContainerElementTypeConstraintsForArrayType-mapping.xml index 9c8539a615..76a1309200 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-canDeclareContainerElementTypeConstraintsForArrayType-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-canDeclareContainerElementTypeConstraintsForArrayType-mapping.xml @@ -1,23 +1,30 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - 5 - - - - - - + + + + + + + 5 + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-canDeclareContainerElementTypeConstraintsForListContainingArrayType-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-canDeclareContainerElementTypeConstraintsForListContainingArrayType-mapping.xml index f58a2c26e7..a6b4dabbc4 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-canDeclareContainerElementTypeConstraintsForListContainingArrayType-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-canDeclareContainerElementTypeConstraintsForListContainingArrayType-mapping.xml @@ -1,25 +1,32 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - - 5 - - - - - - - - \ No newline at end of file + + + + + + + + 5 + + + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-canDeclareContainerElementTypeConstraintsForMultiDimensionalArrayType-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-canDeclareContainerElementTypeConstraintsForMultiDimensionalArrayType-mapping.xml index 181c4ea3a9..3a7c3644a8 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-canDeclareContainerElementTypeConstraintsForMultiDimensionalArrayType-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-canDeclareContainerElementTypeConstraintsForMultiDimensionalArrayType-mapping.xml @@ -1,25 +1,32 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - - 5 - - - - - - - - \ No newline at end of file + + + + + + + + 5 + + + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-configuringConstraintsOnGenericTypeArgumentOfArrayThrowsException-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-configuringConstraintsOnGenericTypeArgumentOfArrayThrowsException-mapping.xml index b525ec7236..2b9aa396f7 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-configuringConstraintsOnGenericTypeArgumentOfArrayThrowsException-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-configuringConstraintsOnGenericTypeArgumentOfArrayThrowsException-mapping.xml @@ -1,24 +1,31 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - - 5 - - - - - - + + + + + + + + 5 + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-configuringConstraintsOnGenericTypeArgumentOfListThrowsException-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-configuringConstraintsOnGenericTypeArgumentOfListThrowsException-mapping.xml index d0c609641c..fb5acd7078 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-configuringConstraintsOnGenericTypeArgumentOfListThrowsException-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-configuringConstraintsOnGenericTypeArgumentOfListThrowsException-mapping.xml @@ -1,24 +1,31 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - - 5 - - - - - - + + + + + + + + 5 + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-configuringSameContainerElementTwiceCausesException-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-configuringSameContainerElementTwiceCausesException-mapping.xml index f37346a788..699358d278 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-configuringSameContainerElementTwiceCausesException-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-configuringSameContainerElementTwiceCausesException-mapping.xml @@ -1,29 +1,36 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-declaringContainerElementTypeConstraintForNonExistingNestedTypeArgumentIndexOnReturnValueCausesException-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-declaringContainerElementTypeConstraintForNonExistingNestedTypeArgumentIndexOnReturnValueCausesException-mapping.xml index 3413acccc1..532a2401a8 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-declaringContainerElementTypeConstraintForNonExistingNestedTypeArgumentIndexOnReturnValueCausesException-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-declaringContainerElementTypeConstraintForNonExistingNestedTypeArgumentIndexOnReturnValueCausesException-mapping.xml @@ -1,20 +1,27 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - - - - + + + + + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-declaringContainerElementTypeConstraintForNonExistingTypeArgumentIndexOnReturnValueCausesException-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-declaringContainerElementTypeConstraintForNonExistingTypeArgumentIndexOnReturnValueCausesException-mapping.xml index 284fd70d8a..e108db2182 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-declaringContainerElementTypeConstraintForNonExistingTypeArgumentIndexOnReturnValueCausesException-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-declaringContainerElementTypeConstraintForNonExistingTypeArgumentIndexOnReturnValueCausesException-mapping.xml @@ -1,18 +1,25 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - - + + + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-declaringContainerElementTypeConstraintOnNonGenericReturnValueCausesException-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-declaringContainerElementTypeConstraintOnNonGenericReturnValueCausesException-mapping.xml index 39bd376805..a810b631b2 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-declaringContainerElementTypeConstraintOnNonGenericReturnValueCausesException-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-declaringContainerElementTypeConstraintOnNonGenericReturnValueCausesException-mapping.xml @@ -1,18 +1,25 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - - + + + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-omittingTypeArgumentForMultiTypeArgumentTypeOnReturnValueCausesException-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-omittingTypeArgumentForMultiTypeArgumentTypeOnReturnValueCausesException-mapping.xml index 9fd010b477..b6a38e9dce 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-omittingTypeArgumentForMultiTypeArgumentTypeOnReturnValueCausesException-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/containerelementtype/returnvalue-omittingTypeArgumentForMultiTypeArgumentTypeOnReturnValueCausesException-mapping.xml @@ -1,17 +1,24 @@ + + + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.containerelementtype + org.hibernate.validator.internal.xml.containerelementtype - - - - - - - + + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/decimal-min-mapping-1.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/decimal-min-mapping-1.xml index ede4b9851a..ea0190e775 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/decimal-min-mapping-1.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/decimal-min-mapping-1.xml @@ -1,19 +1,19 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + version="3.0"> - - - org.hibernate.validator.test.internal.xml.MappingXmlParserTest$DecimalMinValidatorForFoo - - - \ No newline at end of file + + + org.hibernate.validator.test.internal.xml.MappingXmlParserTest$DecimalMinValidatorForFoo + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/decimal-min-mapping-2.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/decimal-min-mapping-2.xml index 98c1f329a4..b6fd86ee00 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/decimal-min-mapping-2.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/decimal-min-mapping-2.xml @@ -1,19 +1,19 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + version="3.0"> - - - org.hibernate.validator.test.internal.xml.MappingXmlParserTest$DecimalMinValidatorForBar - - - \ No newline at end of file + + + org.hibernate.validator.test.internal.xml.MappingXmlParserTest$DecimalMinValidatorForBar + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/empty-my-interface-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/empty-my-interface-mapping.xml index 9d2a4c20ab..9f694bb03d 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/empty-my-interface-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/empty-my-interface-mapping.xml @@ -1,15 +1,15 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> - org.hibernate.validator.internal.xml - - + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + version="3.0"> + org.hibernate.validator.internal.xml + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/exception/hv-620-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/exception/hv-620-mapping.xml index eee2cf9f13..a7c4c89b5a 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/exception/hv-620-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/exception/hv-620-mapping.xml @@ -1,23 +1,23 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation= + "https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml + org.hibernate.validator.internal.xml - - - - - + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-1101-empty-element-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-1101-empty-element-mapping.xml index 086b201b50..7817854cff 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-1101-empty-element-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-1101-empty-element-mapping.xml @@ -1,26 +1,26 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> - java.lang - - - - Error - - - Missing firstName - - - - - - + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> + java.lang + + + + Error + + + Missing firstName + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-1101-tabs-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-1101-tabs-mapping.xml index 3b984ad0f9..d5075a2e63 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-1101-tabs-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-1101-tabs-mapping.xml @@ -1,21 +1,21 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> - java.lang - - - - Error + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> + java.lang + + + + Error Missing firstName AA - - - + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-1534-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-1534-mapping.xml index 28985ac994..80ec873f89 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-1534-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-1534-mapping.xml @@ -1,28 +1,28 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> - - org.hibernate.validator.internal.xml + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - - - - - - - - - - + org.hibernate.validator.internal.xml + + + + + + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-1853-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-1853-mapping.xml index b6f27dd26d..798cbf9871 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-1853-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-1853-mapping.xml @@ -1,29 +1,29 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml + org.hibernate.validator.internal.xml - - - - 2 - - - - - 2 - - - + + + + 2 + + + + + 2 + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-1949-constraint.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-1949-constraint.xml index b735c41bd5..5d2904172f 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-1949-constraint.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-1949-constraint.xml @@ -1,23 +1,23 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - - - - org.hibernate.validator.test.internal.xml.XmlMappingMixedWithServiceLoaderAndProgrammaticDefinitionTest$MyOtherConstraint$MyOtherConstraintValidator - - - + + + + org.hibernate.validator.test.internal.xml.XmlMappingMixedWithServiceLoaderAndProgrammaticDefinitionTest$MyOtherConstraint$MyOtherConstraintValidator + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-1949-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-1949-mapping.xml index ca8a756b94..817e7a1c31 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-1949-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-1949-mapping.xml @@ -1,22 +1,22 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - - - - - - + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-480-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-480-mapping.xml index 8c8b8fa333..c617ec1b5e 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-480-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/hv-480-mapping.xml @@ -1,22 +1,22 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - - - - 1 - 10 - - - + + + + 1 + 10 + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/invalid-bv-1.0-validation.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/invalid-bv-1.0-validation.xml index f9c9d6bbdf..1305b18b58 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/invalid-bv-1.0-validation.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/invalid-bv-1.0-validation.xml @@ -1,14 +1,14 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="http://jboss.org/xml/ns/javax/validation/configuration" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://jboss.org/xml/ns/javax/validation/configuration validation-configuration-1.0.xsd"> - org.hibernate.validator.test.internal.xml.CustomParameterNameProvider + org.hibernate.validator.test.internal.xml.CustomParameterNameProvider diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/mapping.xml index e7795faaa6..92b6ee9e1f 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/mapping.xml @@ -1,24 +1,24 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation= + "https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml + org.hibernate.validator.internal.xml - - - - - + + + + + - + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/mixedconfiguration/annotation-mappings.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/mixedconfiguration/annotation-mappings.xml index 0b585befe8..2df3e95974 100755 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/mixedconfiguration/annotation-mappings.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/mixedconfiguration/annotation-mappings.xml @@ -1,16 +1,16 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation=" + https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/mixedconfiguration/xml-mappings.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/mixedconfiguration/xml-mappings.xml index 4f45f37af6..3553fb2ae1 100755 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/mixedconfiguration/xml-mappings.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/mixedconfiguration/xml-mappings.xml @@ -1,44 +1,44 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation=" + https://jakarta.ee/xml/ns/validation/mapping + https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + version="3.0"> - org.hibernate.validator.internal.xml.mixedconfiguration.xml + org.hibernate.validator.internal.xml.mixedconfiguration.xml - - - - - 1 - - - - - + + + + + 1 + + + + + - - - - - - + + + + + + - - - - - - - + + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/my-interface-impl-mapping-bv-1.1.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/my-interface-impl-mapping-bv-1.1.xml index 695aa728e9..7eb71575ee 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/my-interface-impl-mapping-bv-1.1.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/my-interface-impl-mapping-bv-1.1.xml @@ -1,18 +1,18 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> - org.hibernate.validator.internal.xml - - - - - + xsi:schemaLocation="http://jboss.org/xml/ns/javax/validation/mapping validation-mapping-1.1.xsd" + xmlns="http://jboss.org/xml/ns/javax/validation/mapping" + version="1.1"> + org.hibernate.validator.internal.xml + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/my-interface-impl-mapping-unsupported-version.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/my-interface-impl-mapping-unsupported-version.xml index 6b728b54b6..80f032240d 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/my-interface-impl-mapping-unsupported-version.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/my-interface-impl-mapping-unsupported-version.xml @@ -1,12 +1,12 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + version="1.2"> diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/my-interface-impl-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/my-interface-impl-mapping.xml index f63117c713..d31d0a8a65 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/my-interface-impl-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/my-interface-impl-mapping.xml @@ -1,18 +1,18 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> - org.hibernate.validator.internal.xml - - - - - + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + version="3.0"> + org.hibernate.validator.internal.xml + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/my-interface-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/my-interface-mapping.xml index 86c705e7de..aa2695b462 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/my-interface-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/my-interface-mapping.xml @@ -1,18 +1,18 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> - org.hibernate.validator.internal.xml - - - - - + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + xmlns="https://jakarta.ee/xml/ns/validation/mapping" + version="3.0"> + org.hibernate.validator.internal.xml + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/parameter-name-provider-validation.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/parameter-name-provider-validation.xml index 6593897b8b..51c8d6bb49 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/parameter-name-provider-validation.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/parameter-name-provider-validation.xml @@ -1,15 +1,15 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/configuration" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/configuration https://jakarta.ee/xml/ns/validation/validation-configuration-3.0.xsd" + version="3.0"> - org.hibernate.validator.test.internal.xml.CustomParameterNameProvider + org.hibernate.validator.test.internal.xml.CustomParameterNameProvider diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/properties-mapping.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/properties-mapping.xml index f2b8b1ddd1..35857276cd 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/properties-mapping.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/properties-mapping.xml @@ -1,18 +1,18 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> - org.hibernate.validator.internal.xml - - - - - - \ No newline at end of file +xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" +version="3.0"> + org.hibernate.validator.internal.xml + + + + + + diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/script-evaluator-factory-validation.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/script-evaluator-factory-validation.xml index c6fd09d4d4..c7f8c55d08 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/script-evaluator-factory-validation.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/script-evaluator-factory-validation.xml @@ -1,16 +1,16 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/configuration" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/configuration + https://jakarta.ee/xml/ns/validation/validation-configuration-3.0.xsd" + version="3.0"> - org.hibernate.validator.test.internal.xml.CustomScriptEvaluatorFactory + org.hibernate.validator.test.internal.xml.CustomScriptEvaluatorFactory diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/temporal-validation-tolerance-duration-validation.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/temporal-validation-tolerance-duration-validation.xml index a13902f79c..7e596be646 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/temporal-validation-tolerance-duration-validation.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/temporal-validation-tolerance-duration-validation.xml @@ -1,16 +1,16 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/configuration" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/configuration + https://jakarta.ee/xml/ns/validation/validation-configuration-3.0.xsd" + version="3.0"> - 123456 + 123456 diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/unsupported-validation.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/unsupported-validation.xml index 530d6022ff..a7760a32fe 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/unsupported-validation.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/unsupported-validation.xml @@ -1,14 +1,14 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/configuration" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/configuration validation-configuration-1.2.xsd" + version="1.2"> diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/validation-InvalidXmlConfigurationTest.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/validation-InvalidXmlConfigurationTest.xml index 93b396cebd..aed86aba46 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/validation-InvalidXmlConfigurationTest.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/validation-InvalidXmlConfigurationTest.xml @@ -1,12 +1,12 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/configuration https://jakarta.ee/xml/ns/validation/validation-configuration-3.0.xsd" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + version="3.0"> diff --git a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/validation-UnknownVersionInValidationXmlTest.xml b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/validation-UnknownVersionInValidationXmlTest.xml index 8b7c11c5fb..6bf8580dc8 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/internal/xml/validation-UnknownVersionInValidationXmlTest.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/internal/xml/validation-UnknownVersionInValidationXmlTest.xml @@ -1,13 +1,13 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/configuration" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/configuration https://jakarta.ee/xml/ns/validation/validation-configuration-3.0.xsd" + version="1.2"> diff --git a/engine/src/test/resources/org/hibernate/validator/test/predefinedscope/constraints-simplexmlbean.xml b/engine/src/test/resources/org/hibernate/validator/test/predefinedscope/constraints-simplexmlbean.xml index 7ea5c179e3..b87e9e323b 100644 --- a/engine/src/test/resources/org/hibernate/validator/test/predefinedscope/constraints-simplexmlbean.xml +++ b/engine/src/test/resources/org/hibernate/validator/test/predefinedscope/constraints-simplexmlbean.xml @@ -1,21 +1,21 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + xmlns="https://jakarta.ee/xml/ns/validation/mapping" version="3.0"> - - - - - - - - + + + + + + + + diff --git a/integrationtest/java/modules/cdi/pom.xml b/integrationtest/java/modules/cdi/pom.xml index 3ec37ae28a..6128925420 100644 --- a/integrationtest/java/modules/cdi/pom.xml +++ b/integrationtest/java/modules/cdi/pom.xml @@ -155,26 +155,6 @@ - - maven-checkstyle-plugin - - - de.thetaphi - forbiddenapis - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - maven-gpg-plugin - - true - - org.apache.maven.plugins maven-failsafe-plugin diff --git a/integrationtest/java/modules/cdi/src/test/resources/beans.xml b/integrationtest/java/modules/cdi/src/test/resources/beans.xml index 99a09ce9cf..699b4e3e73 100644 --- a/integrationtest/java/modules/cdi/src/test/resources/beans.xml +++ b/integrationtest/java/modules/cdi/src/test/resources/beans.xml @@ -1,12 +1,12 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/beans_4_0.xsd" + version="4.0" bean-discovery-mode="annotated"> diff --git a/integrationtest/java/modules/no-el/pom.xml b/integrationtest/java/modules/no-el/pom.xml index de3b0ff61a..f46606c3e6 100644 --- a/integrationtest/java/modules/no-el/pom.xml +++ b/integrationtest/java/modules/no-el/pom.xml @@ -66,26 +66,6 @@ - - maven-checkstyle-plugin - - - de.thetaphi - forbiddenapis - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - maven-gpg-plugin - - true - - org.apache.maven.plugins maven-failsafe-plugin diff --git a/integrationtest/java/modules/simple/pom.xml b/integrationtest/java/modules/simple/pom.xml index ffc82e1f70..7fd8b276a4 100644 --- a/integrationtest/java/modules/simple/pom.xml +++ b/integrationtest/java/modules/simple/pom.xml @@ -62,26 +62,6 @@ - - maven-checkstyle-plugin - - - de.thetaphi - forbiddenapis - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - maven-gpg-plugin - - true - - org.apache.maven.plugins maven-failsafe-plugin diff --git a/integrationtest/java/modules/test-utils/pom.xml b/integrationtest/java/modules/test-utils/pom.xml index 29794bf3cf..cbd4008d01 100644 --- a/integrationtest/java/modules/test-utils/pom.xml +++ b/integrationtest/java/modules/test-utils/pom.xml @@ -62,26 +62,6 @@ - - maven-checkstyle-plugin - - - de.thetaphi - forbiddenapis - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - maven-gpg-plugin - - true - - org.apache.maven.plugins maven-failsafe-plugin diff --git a/integrationtest/wildfly/pom.xml b/integrationtest/wildfly/pom.xml index ba8652d042..d368e5104f 100644 --- a/integrationtest/wildfly/pom.xml +++ b/integrationtest/wildfly/pom.xml @@ -169,26 +169,6 @@ - - maven-checkstyle-plugin - - - de.thetaphi - forbiddenapis - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - maven-gpg-plugin - - true - - org.apache.maven.plugins maven-failsafe-plugin diff --git a/integrationtest/wildfly/src/test/java/org/hibernate/validator/integration/wildfly/ejb/EjbJaxRsResource.java b/integrationtest/wildfly/src/test/java/org/hibernate/validator/integration/wildfly/ejb/EjbJaxRsResource.java index b33ef8d5d1..6de805507a 100644 --- a/integrationtest/wildfly/src/test/java/org/hibernate/validator/integration/wildfly/ejb/EjbJaxRsResource.java +++ b/integrationtest/wildfly/src/test/java/org/hibernate/validator/integration/wildfly/ejb/EjbJaxRsResource.java @@ -28,4 +28,3 @@ public String putList(@NotEmpty List a) { } } - diff --git a/integrationtest/wildfly/src/test/modules/javax/money/api/main/module.xml b/integrationtest/wildfly/src/test/modules/javax/money/api/main/module.xml index 75fdeff223..8f37edd7b1 100644 --- a/integrationtest/wildfly/src/test/modules/javax/money/api/main/module.xml +++ b/integrationtest/wildfly/src/test/modules/javax/money/api/main/module.xml @@ -1,12 +1,12 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> - - - + + + diff --git a/integrationtest/wildfly/src/test/modules/org/javamoney/moneta/main/module.xml b/integrationtest/wildfly/src/test/modules/org/javamoney/moneta/main/module.xml index dbeb7172a4..afb046b956 100644 --- a/integrationtest/wildfly/src/test/modules/org/javamoney/moneta/main/module.xml +++ b/integrationtest/wildfly/src/test/modules/org/javamoney/moneta/main/module.xml @@ -1,17 +1,17 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> - - - + + + - - - - + + + + diff --git a/integrationtest/wildfly/src/test/resources/arquillian.xml b/integrationtest/wildfly/src/test/resources/arquillian.xml index ab2161c104..6d187c7b70 100644 --- a/integrationtest/wildfly/src/test/resources/arquillian.xml +++ b/integrationtest/wildfly/src/test/resources/arquillian.xml @@ -1,37 +1,37 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://jboss.org/schema/arquillian + http://jboss.org/schema/arquillian/arquillian_1_0.xsd"> - - + + - - - REMOTE - - - ${wildfly.target-dir} - - - ${arquillian.wildfly.jvm.args} - - - - + + + REMOTE + + + ${wildfly.target-dir} + + + ${arquillian.wildfly.jvm.args} + + + + diff --git a/integrationtest/wildfly/src/test/resources/constraint-mapping-contributor-validation.xml b/integrationtest/wildfly/src/test/resources/constraint-mapping-contributor-validation.xml index 2b22421ffe..138a96892f 100644 --- a/integrationtest/wildfly/src/test/resources/constraint-mapping-contributor-validation.xml +++ b/integrationtest/wildfly/src/test/resources/constraint-mapping-contributor-validation.xml @@ -1,15 +1,15 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/configuration" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/configuration https://jakarta.ee/xml/ns/validation/validation-configuration-3.0.xsd" + version="3.0"> - org.hibernate.validator.integration.wildfly.MyConstraintMappingContributor + org.hibernate.validator.integration.wildfly.MyConstraintMappingContributor diff --git a/integrationtest/wildfly/src/test/resources/constraints-magician.xml b/integrationtest/wildfly/src/test/resources/constraints-magician.xml index 53ca05699f..34d9952d01 100644 --- a/integrationtest/wildfly/src/test/resources/constraints-magician.xml +++ b/integrationtest/wildfly/src/test/resources/constraints-magician.xml @@ -1,18 +1,18 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" + xmlns="https://jakarta.ee/xml/ns/validation/mapping" version="3.0"> - - - org.hibernate.validator.integration.wildfly.jpa.ValidMagicianName$ValidMagicianNameValidator - - + + + org.hibernate.validator.integration.wildfly.jpa.ValidMagicianName$ValidMagicianNameValidator + + diff --git a/integrationtest/wildfly/src/test/resources/jboss-deployment-structure-optional-constraints.xml b/integrationtest/wildfly/src/test/resources/jboss-deployment-structure-optional-constraints.xml index d4b468d7bf..f228762a6c 100644 --- a/integrationtest/wildfly/src/test/resources/jboss-deployment-structure-optional-constraints.xml +++ b/integrationtest/wildfly/src/test/resources/jboss-deployment-structure-optional-constraints.xml @@ -1,19 +1,19 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="urn:jboss:deployment-structure:1.2" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - - - - - - - + + + + + + + diff --git a/integrationtest/wildfly/src/test/resources/validation-custom-config.xml b/integrationtest/wildfly/src/test/resources/validation-custom-config.xml index 395fd9ccf7..758330385d 100644 --- a/integrationtest/wildfly/src/test/resources/validation-custom-config.xml +++ b/integrationtest/wildfly/src/test/resources/validation-custom-config.xml @@ -1,27 +1,27 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xmlns="https://jakarta.ee/xml/ns/validation/configuration" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/configuration https://jakarta.ee/xml/ns/validation/validation-configuration-3.0.xsd" + version="3.0"> - - org.hibernate.validator.integration.cdi.configuration.MessageInterpolatorWithInjection - - - org.hibernate.validator.integration.cdi.configuration.TraversableResolverWithInjection - - - org.hibernate.validator.integration.cdi.configuration.ConstraintValidatorFactoryWithInjection - - - org.hibernate.validator.integration.cdi.configuration.ClockProviderWithInjection - + + org.hibernate.validator.integration.cdi.configuration.MessageInterpolatorWithInjection + + + org.hibernate.validator.integration.cdi.configuration.TraversableResolverWithInjection + + + org.hibernate.validator.integration.cdi.configuration.ConstraintValidatorFactoryWithInjection + + + org.hibernate.validator.integration.cdi.configuration.ClockProviderWithInjection + diff --git a/integrationtest/wildfly/src/test/resources/validation-custom-provider.xml b/integrationtest/wildfly/src/test/resources/validation-custom-provider.xml index 53dc9324e5..05bf56a679 100644 --- a/integrationtest/wildfly/src/test/resources/validation-custom-provider.xml +++ b/integrationtest/wildfly/src/test/resources/validation-custom-provider.xml @@ -1,14 +1,14 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/configuration https://jakarta.ee/xml/ns/validation/validation-configuration-3.0.xsd" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + version="3.0"> - org.hibernate.validator.integration.util.MyValidationProvider + org.hibernate.validator.integration.util.MyValidationProvider diff --git a/integrationtest/wildfly/src/test/resources/validation.xml b/integrationtest/wildfly/src/test/resources/validation.xml index f061ef3ccb..2a43de95d9 100644 --- a/integrationtest/wildfly/src/test/resources/validation.xml +++ b/integrationtest/wildfly/src/test/resources/validation.xml @@ -1,19 +1,19 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/configuration https://jakarta.ee/xml/ns/validation/validation-configuration-3.0.xsd" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + version="3.0"> - - META-INF/validation/constraints-magician.xml - org.hibernate.validator.integration.wildfly.jpa.WandConstraintMappingContributor + + META-INF/validation/constraints-magician.xml + org.hibernate.validator.integration.wildfly.jpa.WandConstraintMappingContributor diff --git a/parents/internal/pom.xml b/parents/internal/pom.xml index a7e58b92ab..d1a85bc0f8 100644 --- a/parents/internal/pom.xml +++ b/parents/internal/pom.xml @@ -41,12 +41,16 @@ - net.revelc.code - impsort-maven-plugin + com.diffplug.spotless + spotless-maven-plugin - net.revelc.code.formatter - formatter-maven-plugin + org.apache.maven.plugins + maven-checkstyle-plugin + + + de.thetaphi + forbiddenapis maven-dependency-plugin diff --git a/parents/public/pom.xml b/parents/public/pom.xml index 39b7cb6580..04e61bca20 100644 --- a/parents/public/pom.xml +++ b/parents/public/pom.xml @@ -44,17 +44,25 @@ flatten-maven-plugin - net.revelc.code - impsort-maven-plugin + com.diffplug.spotless + spotless-maven-plugin - net.revelc.code.formatter - formatter-maven-plugin + org.apache.maven.plugins + maven-checkstyle-plugin + + + de.thetaphi + forbiddenapis org.apache.maven.plugins maven-source-plugin + + org.apache.maven.plugins + maven-gpg-plugin + diff --git a/performance/pom.xml b/performance/pom.xml index 91da7f519f..51b0110e8e 100644 --- a/performance/pom.xml +++ b/performance/pom.xml @@ -110,26 +110,6 @@ - - maven-checkstyle-plugin - - - de.thetaphi - forbiddenapis - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - maven-gpg-plugin - - true - - org.apache.maven.plugins maven-shade-plugin diff --git a/performance/src/main/jakarta/org/hibernate/validator/performance/simple/ExecutableValidation.java b/performance/src/main/jakarta/org/hibernate/validator/performance/simple/ExecutableValidation.java index 46a6cb7fe1..87c4c17c9d 100644 --- a/performance/src/main/jakarta/org/hibernate/validator/performance/simple/ExecutableValidation.java +++ b/performance/src/main/jakarta/org/hibernate/validator/performance/simple/ExecutableValidation.java @@ -81,7 +81,7 @@ public void testExecutableValidation(ValidationState state, Blackhole bh) throws Driver driver = state.nextDriver(); Set> violations = state.validator.validateParameters( new DriverFactory(), DriverFactory.class.getMethod( "createDriver", String.class, int.class, boolean.class ), - new Object[]{ driver.name, driver.age, driver.hasDrivingLicense } ); + new Object[] { driver.name, driver.age, driver.hasDrivingLicense } ); assert driver.getExpectedViolationCount() == violations.size(); bh.consume( violations ); } diff --git a/performance/src/main/jakarta/org/hibernate/validator/performance/statistical/StatisticalConstraintValidator.java b/performance/src/main/jakarta/org/hibernate/validator/performance/statistical/StatisticalConstraintValidator.java index d4b26bd886..893b98bee0 100644 --- a/performance/src/main/jakarta/org/hibernate/validator/performance/statistical/StatisticalConstraintValidator.java +++ b/performance/src/main/jakarta/org/hibernate/validator/performance/statistical/StatisticalConstraintValidator.java @@ -7,6 +7,7 @@ package org.hibernate.validator.performance.statistical; import java.lang.annotation.Annotation; + import jakarta.validation.ConstraintValidator; import jakarta.validation.ConstraintValidatorContext; diff --git a/performance/src/main/jakarta/org/hibernate/validator/performance/statistical/StatisticalValidation.java b/performance/src/main/jakarta/org/hibernate/validator/performance/statistical/StatisticalValidation.java index 2074aaa7f0..69530f5fcb 100644 --- a/performance/src/main/jakarta/org/hibernate/validator/performance/statistical/StatisticalValidation.java +++ b/performance/src/main/jakarta/org/hibernate/validator/performance/statistical/StatisticalValidation.java @@ -8,6 +8,20 @@ import static org.assertj.core.api.Assertions.assertThat; +import java.io.IOException; +import java.io.InputStream; +import java.util.List; +import java.util.Set; +import java.util.concurrent.TimeUnit; +import java.util.stream.Collectors; +import java.util.stream.IntStream; + +import jakarta.validation.Configuration; +import jakarta.validation.ConstraintViolation; +import jakarta.validation.Validation; +import jakarta.validation.Validator; +import jakarta.validation.ValidatorFactory; + import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.BenchmarkMode; import org.openjdk.jmh.annotations.Fork; @@ -20,19 +34,6 @@ import org.openjdk.jmh.annotations.Warmup; import org.openjdk.jmh.infra.Blackhole; -import jakarta.validation.Configuration; -import jakarta.validation.ConstraintViolation; -import jakarta.validation.Validation; -import jakarta.validation.Validator; -import jakarta.validation.ValidatorFactory; -import java.io.IOException; -import java.io.InputStream; -import java.util.List; -import java.util.Set; -import java.util.concurrent.TimeUnit; -import java.util.stream.Collectors; -import java.util.stream.IntStream; - /** * @author Hardy Ferentschik */ diff --git a/performance/src/main/jakarta/org/hibernate/validator/performance/statistical/TestEntity.java b/performance/src/main/jakarta/org/hibernate/validator/performance/statistical/TestEntity.java index 852eb87f16..9024e7d032 100644 --- a/performance/src/main/jakarta/org/hibernate/validator/performance/statistical/TestEntity.java +++ b/performance/src/main/jakarta/org/hibernate/validator/performance/statistical/TestEntity.java @@ -81,5 +81,3 @@ public TestEntity(int depth) { @Valid private TestEntity testEntity; } - - diff --git a/performance/src/main/java/org/hibernate/validator/performance/BenchmarkRunner.java b/performance/src/main/java/org/hibernate/validator/performance/BenchmarkRunner.java index cf57b6b8a8..be9f8ba6c7 100644 --- a/performance/src/main/java/org/hibernate/validator/performance/BenchmarkRunner.java +++ b/performance/src/main/java/org/hibernate/validator/performance/BenchmarkRunner.java @@ -6,6 +6,9 @@ */ package org.hibernate.validator.performance; +import java.util.Objects; +import java.util.stream.Stream; + import org.openjdk.jmh.results.format.ResultFormatType; import org.openjdk.jmh.runner.Runner; import org.openjdk.jmh.runner.RunnerException; @@ -15,9 +18,6 @@ import org.openjdk.jmh.runner.options.Options; import org.openjdk.jmh.runner.options.OptionsBuilder; -import java.util.Objects; -import java.util.stream.Stream; - /** * Class containing main method to run all performance tests. * diff --git a/performance/src/main/javax/org/hibernate/validator/performance/simple/ExecutableValidation.java b/performance/src/main/javax/org/hibernate/validator/performance/simple/ExecutableValidation.java index f1948d189f..dc192f986f 100644 --- a/performance/src/main/javax/org/hibernate/validator/performance/simple/ExecutableValidation.java +++ b/performance/src/main/javax/org/hibernate/validator/performance/simple/ExecutableValidation.java @@ -81,7 +81,7 @@ public void testExecutableValidation(ValidationState state, Blackhole bh) throws Driver driver = state.nextDriver(); Set> violations = state.validator.validateParameters( new DriverFactory(), DriverFactory.class.getMethod( "createDriver", String.class, int.class, boolean.class ), - new Object[]{ driver.name, driver.age, driver.hasDrivingLicense } ); + new Object[] { driver.name, driver.age, driver.hasDrivingLicense } ); assert driver.getExpectedViolationCount() == violations.size(); bh.consume( violations ); } diff --git a/performance/src/main/javax/org/hibernate/validator/performance/statistical/StatisticalConstraintValidator.java b/performance/src/main/javax/org/hibernate/validator/performance/statistical/StatisticalConstraintValidator.java index f2106d2b83..002c0ef631 100644 --- a/performance/src/main/javax/org/hibernate/validator/performance/statistical/StatisticalConstraintValidator.java +++ b/performance/src/main/javax/org/hibernate/validator/performance/statistical/StatisticalConstraintValidator.java @@ -7,6 +7,7 @@ package org.hibernate.validator.performance.statistical; import java.lang.annotation.Annotation; + import javax.validation.ConstraintValidator; import javax.validation.ConstraintValidatorContext; diff --git a/performance/src/main/javax/org/hibernate/validator/performance/statistical/StatisticalValidation.java b/performance/src/main/javax/org/hibernate/validator/performance/statistical/StatisticalValidation.java index e2eb94ed1f..728b1657c4 100644 --- a/performance/src/main/javax/org/hibernate/validator/performance/statistical/StatisticalValidation.java +++ b/performance/src/main/javax/org/hibernate/validator/performance/statistical/StatisticalValidation.java @@ -8,6 +8,20 @@ import static org.assertj.core.api.Assertions.assertThat; +import java.io.IOException; +import java.io.InputStream; +import java.util.List; +import java.util.Set; +import java.util.concurrent.TimeUnit; +import java.util.stream.Collectors; +import java.util.stream.IntStream; + +import javax.validation.Configuration; +import javax.validation.ConstraintViolation; +import javax.validation.Validation; +import javax.validation.Validator; +import javax.validation.ValidatorFactory; + import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.BenchmarkMode; import org.openjdk.jmh.annotations.Fork; @@ -20,19 +34,6 @@ import org.openjdk.jmh.annotations.Warmup; import org.openjdk.jmh.infra.Blackhole; -import javax.validation.Configuration; -import javax.validation.ConstraintViolation; -import javax.validation.Validation; -import javax.validation.Validator; -import javax.validation.ValidatorFactory; -import java.io.IOException; -import java.io.InputStream; -import java.util.List; -import java.util.Set; -import java.util.concurrent.TimeUnit; -import java.util.stream.Collectors; -import java.util.stream.IntStream; - /** * @author Hardy Ferentschik */ diff --git a/performance/src/main/javax/org/hibernate/validator/performance/statistical/TestEntity.java b/performance/src/main/javax/org/hibernate/validator/performance/statistical/TestEntity.java index 9bca4a9df5..078f6d41a1 100644 --- a/performance/src/main/javax/org/hibernate/validator/performance/statistical/TestEntity.java +++ b/performance/src/main/javax/org/hibernate/validator/performance/statistical/TestEntity.java @@ -81,5 +81,3 @@ public TestEntity(int depth) { @Valid private TestEntity testEntity; } - - diff --git a/performance/src/main/resources/org/hibernate/validator/performance/statistical/mapping.xml b/performance/src/main/resources/org/hibernate/validator/performance/statistical/mapping.xml index 6c3539a324..9a0060a22b 100644 --- a/performance/src/main/resources/org/hibernate/validator/performance/statistical/mapping.xml +++ b/performance/src/main/resources/org/hibernate/validator/performance/statistical/mapping.xml @@ -1,72 +1,72 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> - - - org.hibernate.validator.performance.statistical.StatisticalConstraintValidator - - - - - org.hibernate.validator.performance.statistical.StatisticalConstraintValidator - - - - - org.hibernate.validator.performance.statistical.StatisticalConstraintValidator - - - - - org.hibernate.validator.performance.statistical.StatisticalConstraintValidator - - - - - org.hibernate.validator.performance.statistical.StatisticalConstraintValidator - - - - - org.hibernate.validator.performance.statistical.StatisticalConstraintValidator - - - - - org.hibernate.validator.performance.statistical.StatisticalConstraintValidator - - - - - org.hibernate.validator.performance.statistical.StatisticalConstraintValidator - - - - - org.hibernate.validator.performance.statistical.StatisticalConstraintValidator - - - - - org.hibernate.validator.performance.statistical.StatisticalConstraintValidator - - - - - org.hibernate.validator.performance.statistical.StatisticalConstraintValidator - - - - - org.hibernate.validator.performance.statistical.StatisticalConstraintValidator - - - \ No newline at end of file + xmlns="http://jboss.org/xml/ns/javax/validation/mapping" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://jboss.org/xml/ns/javax/validation/mapping validation-mapping-1.0.xsd"> + + + org.hibernate.validator.performance.statistical.StatisticalConstraintValidator + + + + + org.hibernate.validator.performance.statistical.StatisticalConstraintValidator + + + + + org.hibernate.validator.performance.statistical.StatisticalConstraintValidator + + + + + org.hibernate.validator.performance.statistical.StatisticalConstraintValidator + + + + + org.hibernate.validator.performance.statistical.StatisticalConstraintValidator + + + + + org.hibernate.validator.performance.statistical.StatisticalConstraintValidator + + + + + org.hibernate.validator.performance.statistical.StatisticalConstraintValidator + + + + + org.hibernate.validator.performance.statistical.StatisticalConstraintValidator + + + + + org.hibernate.validator.performance.statistical.StatisticalConstraintValidator + + + + + org.hibernate.validator.performance.statistical.StatisticalConstraintValidator + + + + + org.hibernate.validator.performance.statistical.StatisticalConstraintValidator + + + + + org.hibernate.validator.performance.statistical.StatisticalConstraintValidator + + + diff --git a/pom.xml b/pom.xml index 94f52129df..2ce4cc48c1 100644 --- a/pom.xml +++ b/pom.xml @@ -254,7 +254,6 @@ 3.4.2 2.4.0 3.10.1 - 4.6 3.1.1 3.3.1 3.6.0 @@ -267,10 +266,9 @@ 1.6.0 1.2.2.Final 0.9.0.M3 - 1.12.0 - 2.24.1 2.17.1 3.3.2 + 2.43.0 forbidden-junit.txt @@ -395,8 +393,7 @@ false - sort - format + apply @@ -644,10 +641,6 @@ - - com.mycila - license-maven-plugin - org.codehaus.mojo build-helper-maven-plugin @@ -907,51 +900,6 @@ - - com.mycila - license-maven-plugin - ${version.license.plugin} - - - -
${hibernate-validator-parent.path}/build/build-config/src/main/resources/license.header
- - - **/org/hibernate/validator/internal/util/TypeHelper.java - **/org/hibernate/validator/test/internal/util/TypeHelperTest.java - **/settings-example.xml - **/src/test/resources/org/hibernate/validator/referenceguide/**/*.* - **/org/hibernate/validator/referenceguide/**/*.* - **/src/test/resources/org/hibernate/validator/test/internal/xml/**/*.xml - .mvn/** - **/generated-sources/** - **/javadoc-bundle-options/** - - - **/*.java - **/*.xml - -
-
- true - - ${hibernate-validator-parent.path}/build/build-config/src/main/resources/java-header-style.xml - ${hibernate-validator-parent.path}/build/build-config/src/main/resources/xml-header-style.xml - - - JAVA_CLASS_STYLE - XML_FILE_STYLE - -
- - - license-headers - - check - - - -
maven-surefire-plugin ${version.surefire.plugin} @@ -1416,33 +1364,76 @@
- net.revelc.code - impsort-maven-plugin - ${version.impsort-maven-plugin} + com.diffplug.spotless + spotless-maven-plugin + ${version.spotless-maven-plugin} - - .cache/impsort-maven-plugin-${version.impsort-maven-plugin} - org.openjdk.jmh.,java.,javax.,jakarta.,org.hibernate., org.hibernate.testing., org.hibernate.test., org.junit., org.jboss., com., * - * - - false - ${format.skip} - true + + true + .cache/spotless-index-${version.spotless-maven-plugin} + + + + + + src/**/*.xml + + + + + license.xml.header + + + ]]> + + + true + 4 + + + + + + + + src/**/*.java + + + **/TypeHelper.java + **/TypeHelperTest.java + **/ConcurrentReferenceHashMap.java + + + true + 4 + + + + hibernate_validator_style.importorder + + + + + + + hibernate_validator_style.xml + + + + cleanthat-javaparser-unnecessaryimport + + + license.java.header + + (\n)*^(\/\/tag.+|\/\/spotless.+|package .+;|//.+)$ + + + Remove wildcard imports + ^import\s+[^\*\s]+\*;$ + $1 + + - - - import-sorting - - ${goal.impsort-maven-plugin} - - process-sources - - - - - net.revelc.code.formatter - formatter-maven-plugin - ${version.formatter-maven-plugin} org.hibernate.validator @@ -1450,22 +1441,16 @@ ${project.version} - - - .cache/formatter-maven-plugin-${version.formatter-maven-plugin} - hibernate_validator_style.xml - ${format.skip} - true - true - true - - code-formatting + check-apply-formatting + + ${format.skip} + + process-sources - ${goal.formatter-maven-plugin} + ${goal.spotless-maven-plugin} - process-sources @@ -1776,7 +1761,6 @@ false true - true true true true @@ -1819,8 +1803,7 @@ ci-build - check - validate + check diff --git a/tck-runner/pom.xml b/tck-runner/pom.xml index c5b6ac2cc9..4b0d89c382 100644 --- a/tck-runner/pom.xml +++ b/tck-runner/pom.xml @@ -104,27 +104,6 @@ - - org.apache.maven.plugins - maven-checkstyle-plugin - - - de.thetaphi - forbiddenapis - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - maven-gpg-plugin - - true - - org.apache.maven.plugins maven-dependency-plugin diff --git a/tck-runner/src/test/modules/jdk11/javafx/api/main/module.xml b/tck-runner/src/test/modules/jdk11/javafx/api/main/module.xml index 1e52da5a2f..fce94ff0ca 100644 --- a/tck-runner/src/test/modules/jdk11/javafx/api/main/module.xml +++ b/tck-runner/src/test/modules/jdk11/javafx/api/main/module.xml @@ -1,14 +1,14 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> - - - - - + + + + + diff --git a/tck-runner/src/test/modules/jdk8/javafx/api/main/module.xml b/tck-runner/src/test/modules/jdk8/javafx/api/main/module.xml index e422946754..de906e06b8 100644 --- a/tck-runner/src/test/modules/jdk8/javafx/api/main/module.xml +++ b/tck-runner/src/test/modules/jdk8/javafx/api/main/module.xml @@ -1,51 +1,51 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tck-runner/src/test/resources/arquillian.xml b/tck-runner/src/test/resources/arquillian.xml index af6443c878..36b45cc519 100644 --- a/tck-runner/src/test/resources/arquillian.xml +++ b/tck-runner/src/test/resources/arquillian.xml @@ -1,38 +1,38 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> + xsi:schemaLocation="http://jboss.org/schema/arquillian + http://jboss.org/schema/arquillian/arquillian_1_0.xsd"> - - + + - - target/artifacts - + + target/artifacts + - - - - + + + + - - - - - ${wildfly.target-dir} - - ${arquillian.wildfly.jvm.args} - -Xmx1024m ${remote.debug} - -Dvalidation.provider=${validation.provider} - - true - - + + + + + ${wildfly.target-dir} + + ${arquillian.wildfly.jvm.args} + -Xmx1024m ${remote.debug} + -Dvalidation.provider=${validation.provider} + + true + + diff --git a/tck-runner/src/test/resources/log4j.xml b/tck-runner/src/test/resources/log4j.xml index 4f8d1904fb..996ea4f44a 100644 --- a/tck-runner/src/test/resources/log4j.xml +++ b/tck-runner/src/test/resources/log4j.xml @@ -1,42 +1,42 @@ +~ Hibernate Validator, declare and validate application constraints +~ +~ License: Apache License, Version 2.0 +~ See the license.txt file in the root directory or . +--> - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - + + + + - - - + + + - - - - + + + + diff --git a/test-utils/pom.xml b/test-utils/pom.xml index e85da22953..776fc8ecbe 100644 --- a/test-utils/pom.xml +++ b/test-utils/pom.xml @@ -27,13 +27,6 @@ - - maven-checkstyle-plugin - - - de.thetaphi - forbiddenapis - maven-jar-plugin