ItEr37S08CUCreacionUnidadesPlanificacionItEr36S11: Avoiding calling FormBinder to retrieve the calculatedValue since AllocationRowsHandler stores it.

This commit is contained in:
Óscar González Fernández 2009-12-03 13:47:40 +01:00
parent a66ff5cc31
commit 3520cd34dc

View file

@ -132,7 +132,7 @@ public class AllocationRowsHandler {
}
public void checkInvalidValues() {
if (formBinder.getCalculatedValue() != CalculatedValue.NUMBER_OF_HOURS
if (calculatedValue != CalculatedValue.NUMBER_OF_HOURS
&& formBinder.getAssignedHours() <= 0) {
formBinder.markAssignedHoursMustBePositive();
}