TASKPM/navalplanner-webapp/src
Fernando Bellas Permuy b9fae80d22 ItEr43S05ValidacionEProbasFuncionaisItEr42S05: Minor improvements to criterion REST service.
The following improvements have been implemented: (1) criterion type and criterion names are trimmed with StringUtils.trim, (2) case is ignored for criterion type and criterion names, (3) just one constraint violation is reported for a criterion type with a name already used by another criterion type being imported, (4) CriterionType::checkConstraintNonRepeatedCriterionNames now discards criterions with names fulfilling StringUtils.isBlank(criterionName), (5) Criterion::createUnvalidated and CriterionType::createUnvalidated now use BaseEntity::create (to avoid to call setNewObject and other possible future actions), and (6) assertTrue/assertFalse JUnit methods in CriterionServiceTest now make use of the toString method provided by constraint violations related DTOs (to make debugging easier).
2010-01-14 18:02:59 +01:00
..
main ItEr43S05ValidacionEProbasFuncionaisItEr42S05: Minor improvements to criterion REST service. 2010-01-14 18:02:59 +01:00
test ItEr43S05ValidacionEProbasFuncionaisItEr42S05: Minor improvements to criterion REST service. 2010-01-14 18:02:59 +01:00