ItEr27S06CUAsignacionGrupoRecursosAPlanificacionItEr26S07: Not showing the case not implemented yet

This commit is contained in:
Óscar González Fernández 2009-09-22 23:33:05 +02:00
parent be896fb9dd
commit bd6afcfc7f
2 changed files with 4 additions and 6 deletions

View file

@ -26,6 +26,10 @@ class FormBinder {
}
public void setCalculatedValue(CalculatedValue calculatedValue) {
if (calculatedValue == CalculatedValue.RESOURCES_PER_DAY) {
throw new RuntimeException(CalculatedValue.RESOURCES_PER_DAY
+ " not implemented yet");
}
if (calculatedValue == resourceAllocationsBeingEdited
.getCalculatedValue()) {
return;

View file

@ -164,12 +164,6 @@ public class ResourceAllocationController extends GenericForwardComposer {
public String getName() {
return _("Calculate End Date");
}
},
RESOURCES_PER_DAY(CalculatedValue.RESOURCES_PER_DAY) {
@Override
public String getName() {
return _("Calculate Resources per Day");
}
};
public static CalculationTypeRadio from(CalculatedValue calculatedValue) {