Skip to content

Commit 53df00f

Browse files
committed
Bump hibernate-validator to version 3.3 with new API
1 parent 73d2852 commit 53df00f

File tree

7 files changed

+8
-11
lines changed

7 files changed

+8
-11
lines changed

http-client/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
<dependency>
8181
<groupId>io.avaje</groupId>
8282
<artifactId>avaje-http-hibernate-validator</artifactId>
83-
<version>3.2</version>
83+
<version>3.3</version>
8484
<scope>test</scope>
8585
</dependency>
8686

http-hibernate-validator/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>io.avaje</groupId>
77
<artifactId>avaje-http-hibernate-validator</artifactId>
8-
<version>3.2</version>
8+
<version>3.3</version>
99

1010
<parent>
1111
<groupId>org.avaje</groupId>

http-hibernate-validator/src/main/java/io/avaje/http/hibernate/validator/BeanValidator.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,8 @@ public class BeanValidator implements Validator {
1515
private static final ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
1616

1717
@Override
18-
public void validate(Object bean, String acceptLanguage, Class<?>... groups)
19-
throws ValidationException {
20-
21-
final Set<ConstraintViolation<Object>> violations =
22-
factory.getValidator().validate(bean, groups);
18+
public void validate(Object bean, String acceptLanguage, Class<?>... groups) throws ValidationException {
19+
final Set<ConstraintViolation<Object>> violations = factory.getValidator().validate(bean, groups);
2320
if (!violations.isEmpty()) {
2421
throwExceptionWith(violations);
2522
}

tests/test-javalin-jsonb/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<dependency>
5454
<groupId>io.avaje</groupId>
5555
<artifactId>avaje-http-hibernate-validator</artifactId>
56-
<version>3.2</version>
56+
<version>3.3</version>
5757
</dependency>
5858

5959
<dependency>

tests/test-javalin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
<dependency>
5959
<groupId>io.avaje</groupId>
6060
<artifactId>avaje-http-hibernate-validator</artifactId>
61-
<version>3.2</version>
61+
<version>3.3</version>
6262
</dependency>
6363

6464
<dependency>

tests/test-jex/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<dependency>
5858
<groupId>io.avaje</groupId>
5959
<artifactId>avaje-http-hibernate-validator</artifactId>
60-
<version>3.2</version>
60+
<version>3.3</version>
6161
</dependency>
6262

6363
<dependency>

tests/test-nima-jsonb/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<dependency>
3737
<groupId>io.avaje</groupId>
3838
<artifactId>avaje-http-hibernate-validator</artifactId>
39-
<version>3.2</version>
39+
<version>3.3</version>
4040
</dependency>
4141
<dependency>
4242
<groupId>io.helidon.nima.webserver</groupId>

0 commit comments

Comments
 (0)