ItEr21S04ArquitecturaServidorItEr20S04: Removing unused method
This commit is contained in:
parent
a37fcb84ea
commit
37f293e54f
1 changed files with 0 additions and 17 deletions
|
|
@ -136,23 +136,6 @@ public class CriterionsModel implements ICriterionsModel {
|
|||
return existentCriterion.getId().equals(other.getId());
|
||||
}
|
||||
|
||||
private CriterionType saveCriterionType(CriterionType criterionType)
|
||||
throws ValidationException {
|
||||
if (criterionTypeDAO.exists(criterionType.getId())
|
||||
|| criterionTypeDAO.existsByName(criterionType)) {
|
||||
try {
|
||||
criterionType = criterionTypeDAO.findUniqueByName(criterionType
|
||||
.getName());
|
||||
} catch (InstanceNotFoundException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
} else {
|
||||
criterionTypeDAO.save(criterionType);
|
||||
}
|
||||
|
||||
return criterionType;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isEditing() {
|
||||
return criterion != null;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue