removed the special treatment of NotEmptyValidation

This commit is contained in:
2016-08-09 17:25:05 +02:00
parent 3ebf78805c
commit b79a20201e
14 changed files with 31 additions and 16 deletions

View File

@@ -30,7 +30,7 @@ import static org.apache.commons.validator.GenericValidator.maxLength;
/**
* Checks if the value is shorter or exactly as long as the given max length
*/
public class MaxLengthValidation implements Validation {
public class MaxLengthValidation extends EmptyAllowedValidation {
private int maxLength;