|
|
|
|
|
|
|
|
*/ |
|
|
*/ |
|
|
public RequiredFieldConfigurator NOT_EMPTY = annotation -> annotation |
|
|
public RequiredFieldConfigurator NOT_EMPTY = annotation -> annotation |
|
|
.annotationType().getName() |
|
|
.annotationType().getName() |
|
|
.equals("org.hibernate.validator.constraints.NotEmpty"); |
|
|
|
|
|
|
|
|
.equals("org.hibernate.validator.constraints.NotEmpty") || annotation |
|
|
|
|
|
.annotationType().getName().equals("javax.validation.constraints.NotEmpty"); |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* Configurator which is aware of {@literal Size} annotation with |
|
|
* Configurator which is aware of {@literal Size} annotation with |