Example #1
0
 public String validateNewToDo(
     final String description,
     final Category category,
     final Subcategory subcategory,
     final LocalDate dueBy,
     final BigDecimal cost) {
   return Subcategory.validate(category, subcategory);
 }
Example #2
0
 public String validateCategorized(
     final Category category, final Subcategory subcategory, final boolean completed) {
   return Subcategory.validate(category, subcategory);
 }