[Bug #1086] Fix bug

Always return the intended resources per day. Even if the calculated
value of the task is resources per day, the current calculated value
could be changed but in the task not yet.

FEA: ItEr74S04BugFixing
This commit is contained in:
Óscar González Fernández 2011-06-06 10:58:31 +02:00
parent 62be12dd41
commit 5c8fbebde0

View file

@ -567,9 +567,6 @@ public abstract class ResourceAllocation<T extends DayAssignment> extends
* Returns the last specified resources per day
*/
public ResourcesPerDay getIntendedResourcesPerDay() {
if (getTask().getCalculatedValue() == CalculatedValue.RESOURCES_PER_DAY) {
return null;
}
return intendedResourcesPerDay;
}