Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HV-725 Aligning packages of reference guide examples with document st…
…ructure
- Loading branch information
1 parent
70f8654
commit edaaf5f
Showing
59 changed files
with
112 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
...tion/src/test/java/org/hibernate/validator/referenceguide/chapter03/groups/CarChecks.java
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
...n/src/test/java/org/hibernate/validator/referenceguide/chapter03/groups/DriverChecks.java
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
...n/src/test/java/org/hibernate/validator/referenceguide/chapter03/groups/RentalChecks.java
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
...va/org/hibernate/validator/referenceguide/chapter03/groups/groupconversion/CarChecks.java
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
...org/hibernate/validator/referenceguide/chapter03/groups/groupconversion/DriverChecks.java
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
documentation/src/test/java/org/hibernate/validator/referenceguide/chapter04/CaseMode.java
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
...java/org/hibernate/validator/referenceguide/chapter04/constraintcomposition/CaseMode.java
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
...org/hibernate/validator/referenceguide/chapter04/constraintvalidatorcontext/CaseMode.java
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
.../referenceguide/chapter03/groups/Car.java → ...lidator/referenceguide/chapter05/Car.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
documentation/src/test/java/org/hibernate/validator/referenceguide/chapter05/CarChecks.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package org.hibernate.validator.referenceguide.chapter05; | ||
|
||
public interface CarChecks { | ||
} |
2 changes: 1 addition & 1 deletion
2
...ferenceguide/chapter03/groups/Driver.java → ...ator/referenceguide/chapter05/Driver.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...entation/src/test/java/org/hibernate/validator/referenceguide/chapter05/DriverChecks.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package org.hibernate.validator.referenceguide.chapter05; | ||
|
||
public interface DriverChecks { | ||
} |
2 changes: 1 addition & 1 deletion
2
...enceguide/chapter03/groups/GroupTest.java → ...r/referenceguide/chapter05/GroupTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...guide/chapter03/groups/OrderedChecks.java → ...ferenceguide/chapter05/OrderedChecks.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ferenceguide/chapter03/groups/Person.java → ...ator/referenceguide/chapter05/Person.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...enceguide/chapter03/groups/RentalCar.java → ...r/referenceguide/chapter05/RentalCar.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...entation/src/test/java/org/hibernate/validator/referenceguide/chapter05/RentalChecks.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package org.hibernate.validator.referenceguide.chapter05; | ||
|
||
public interface RentalChecks { | ||
} |
2 changes: 1 addition & 1 deletion
2
...chapter03/groups/groupconversion/Car.java → ...eguide/chapter05/groupconversion/Car.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...test/java/org/hibernate/validator/referenceguide/chapter05/groupconversion/CarChecks.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package org.hibernate.validator.referenceguide.chapter05.groupconversion; | ||
|
||
public interface CarChecks { | ||
} |
2 changes: 1 addition & 1 deletion
2
...pter03/groups/groupconversion/Driver.java → ...ide/chapter05/groupconversion/Driver.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...t/java/org/hibernate/validator/referenceguide/chapter05/groupconversion/DriverChecks.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package org.hibernate.validator.referenceguide.chapter05.groupconversion; | ||
|
||
public interface DriverChecks { | ||
} |
2 changes: 1 addition & 1 deletion
2
.../groupconversion/GroupConversionTest.java → .../groupconversion/GroupConversionTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...pter03/groups/groupconversion/Person.java → ...ide/chapter05/groupconversion/Person.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...oups/groupsequenceprovider/RentalCar.java → ...er05/groupsequenceprovider/RentalCar.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...vider/RentalCarGroupSequenceProvider.java → ...vider/RentalCarGroupSequenceProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/Car.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package org.hibernate.validator.referenceguide.chapter06; | ||
|
||
import javax.validation.constraints.Min; | ||
import javax.validation.constraints.NotNull; | ||
import javax.validation.constraints.Size; | ||
|
||
public class Car { | ||
|
||
@NotNull | ||
private final String manufacturer; | ||
|
||
@NotNull | ||
@Size(min = 2, max = 14) | ||
@CheckCase(CaseMode.UPPER) | ||
private final String licensePlate; | ||
|
||
@Min(2) | ||
private final int seatCount; | ||
|
||
public Car ( String manufacturer, String licencePlate, int seatCount ) { | ||
this.manufacturer = manufacturer; | ||
this.licensePlate = licencePlate; | ||
this.seatCount = seatCount; | ||
} | ||
|
||
//getters and setters ... | ||
} |
2 changes: 1 addition & 1 deletion
2
...tor/referenceguide/chapter04/CarTest.java → ...tor/referenceguide/chapter06/CarTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/CaseMode.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package org.hibernate.validator.referenceguide.chapter06; | ||
|
||
public enum CaseMode { | ||
UPPER, | ||
LOWER; | ||
} |
2 changes: 1 addition & 1 deletion
2
...r/referenceguide/chapter04/CheckCase.java → ...r/referenceguide/chapter06/CheckCase.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ceguide/chapter04/CheckCaseValidator.java → ...ceguide/chapter06/CheckCaseValidator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../chapter04/constraintcomposition/Car.java → .../chapter06/constraintcomposition/Car.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
...java/org/hibernate/validator/referenceguide/chapter06/constraintcomposition/CaseMode.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package org.hibernate.validator.referenceguide.chapter06.constraintcomposition; | ||
|
||
public enum CaseMode { | ||
UPPER, | ||
LOWER; | ||
} |
2 changes: 1 addition & 1 deletion
2
...er04/constraintcomposition/CheckCase.java → ...er06/constraintcomposition/CheckCase.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...straintcomposition/ValidLicensePlate.java → ...straintcomposition/ValidLicensePlate.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ion/reportassingle/ValidLicensePlate.java → ...ion/reportassingle/ValidLicensePlate.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
...org/hibernate/validator/referenceguide/chapter06/constraintvalidatorcontext/CaseMode.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package org.hibernate.validator.referenceguide.chapter06.constraintvalidatorcontext; | ||
|
||
public enum CaseMode { | ||
UPPER, | ||
LOWER; | ||
} |
2 changes: 1 addition & 1 deletion
2
...constraintvalidatorcontext/CheckCase.java → ...constraintvalidatorcontext/CheckCase.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...tvalidatorcontext/CheckCaseValidator.java → ...tvalidatorcontext/CheckCaseValidator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ter/ConsistentDateParameterValidator.java → ...ter/ConsistentDateParameterValidator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ssparameter/ConsistentDateParameters.java → ...ssparameter/ConsistentDateParameters.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...rameter/ConsistentDateParametersTest.java → ...rameter/ConsistentDateParametersTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...hapter04/crossparameter/ScriptAssert.java → ...hapter06/crossparameter/ScriptAssert.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...arameter/ScriptAssertObjectValidator.java → ...arameter/ScriptAssertObjectValidator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...eter/ScriptAssertParametersValidator.java → ...eter/ScriptAssertParametersValidator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...er04/crossparameter/ScriptAssertTest.java → ...er06/crossparameter/ScriptAssertTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...erenceguide/chapter04/custompath/Car.java → ...erenceguide/chapter06/custompath/Car.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ceguide/chapter04/custompath/CarTest.java → ...ceguide/chapter06/custompath/CarTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ter04/custompath/ValidPassengerCount.java → ...ter06/custompath/ValidPassengerCount.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...tompath/ValidPassengerCountValidator.java → ...tompath/ValidPassengerCountValidator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ide/chapter04/payload/ContactDetails.java → ...ide/chapter06/payload/ContactDetails.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...enceguide/chapter04/payload/Severity.java → ...enceguide/chapter06/payload/Severity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...lidator/referenceguide/chapter07/Car.java → ...lidator/referenceguide/chapter09/Car.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...07/LuggageCountMatchesPassengerCount.java → ...09/LuggageCountMatchesPassengerCount.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ator/referenceguide/chapter07/Person.java → ...ator/referenceguide/chapter09/Person.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...erenceguide/chapter07/PieceOfLuggage.java → ...erenceguide/chapter09/PieceOfLuggage.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.