Bael 5123: uncomment @NotBlank annotation (#11788)

* revert: comment Hibernate Validator AP dependency

See http://jira.baeldung.com/browse/BAEL-5123

* revert: restore @NotBlank annotation

See http://jira.baeldung.com/browse/BAEL-5123
This commit is contained in:
chrys exaucet 2022-02-07 20:04:22 +00:00 committed by GitHub
parent 289b9c0fa8
commit 616195b6b2
2 changed files with 5 additions and 0 deletions

View File

@ -36,6 +36,8 @@
</dependency>
</dependencies>
<!-- uncomment in order to enable Hibernate Validator Anotation Processor -->
<!--
<build>
<plugins>
<plugin>
@ -63,6 +65,8 @@
</plugins>
</build>
-->
<properties>
<hibernate-validator.version>6.0.13.Final</hibernate-validator.version>
<hibernate-validator.ap.version>6.2.0.Final</hibernate-validator.ap.version>

View File

@ -20,6 +20,7 @@ public class Customer {
@PositiveOrZero
private OptionalInt numberOfOrders;
@NotBlank
private Profile profile;
public String getName() {