Skip to content

Commit

Permalink
Final pull request cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Oscar Guillén committed Apr 16, 2018
1 parent 06f8374 commit da20a05
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

String message() default "{org.hibernate.validator.constraints.NotEmpty.message}";

Class<?>[] groups() default {};
Class<?>[] groups() default { };

Class<? extends Payload>[] payload() default {};
Class<? extends Payload>[] payload() default { };
}
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class CommonEachValidatorIT extends Specification {
given:
constraint = '@EachNotBlank'
expect:
assertViolations values, isValid, invalidIndex, 'must not be empty'
assertViolations values, isValid, invalidIndex, 'may not be empty'
where:
values | desc || isValid | invalidIndex
[''] | 'value invalid by top validator' || false | 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ class EachAnnotationIT extends Specification {

// List of @Each* annotations for constraints defined in JSR 303/349.
static final CONSTRAINTS_JSR = [
EachAssertFalse, EachAssertTrue, EachDecimalMax, EachDecimalMin, EachDigits,
EachEmail, EachFuture, EachMax, EachMin, EachNotBlank, EachNotNull, EachNull,
EachPast, EachPattern, EachSize
EachAssertFalse, EachAssertTrue, EachDecimalMax, EachDecimalMin,
EachDigits, EachFuture, EachMax, EachMin, EachNotBlank, EachNotNull,
EachNull, EachPast, EachPattern, EachSize
]

// List of @Each* annotations for Hibernate constraints in HV 4.3.0.
static final CONSTRAINTS_HV = [
EachLength, EachNotBlank, EachNotEmpty, EachRange, EachScriptAssert,
EachURL
EachEmail, EachLength, EachNotBlank, EachNotEmpty, EachRange,
EachScriptAssert, EachURL
]

// List of @Each* annotations for Hibernate constraints in HV 5.1.0 and newer.
Expand Down

0 comments on commit da20a05

Please sign in to comment.