[hibernate/hibernate-validator] b7da0c: HV-933 Changing @CPF and @CNPJ to validate w/ or w...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-validator
Commit: b7da0caa19c959ec766bf5534c0209f47a77ab39
https://github.com/hibernate/hibernate-validator/commit/b7da0caa19c959ec7...
Author: Hardy Ferentschik <hibernate(a)ferentschik.de>
Date: 2015-02-17 (Tue, 17 Feb 2015)
Changed paths:
M engine/src/main/java/org/hibernate/validator/constraints/br/CNPJ.java
M engine/src/main/java/org/hibernate/validator/constraints/br/CPF.java
M engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/hv/Mod11CheckValidator.java
A engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/hv/br/CNPJValidator.java
A engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/hv/br/CPFValidator.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/core/ConstraintHelper.java
M engine/src/test/java/org/hibernate/validator/test/constraints/br/CNPJValidatorTest.java
M engine/src/test/java/org/hibernate/validator/test/constraints/br/CPFValidatorTest.java
Log Message:
-----------
HV-933 Changing @CPF and @CNPJ to validate w/ or w/o separator characters by introducing actual constraint validator classes.
These constraint are not anymore pure composition constraints.
9 years, 9 months