ItEr32S12CUAsignacionGrupoRecursosAPlanificacionItEr31S15: Removing not needed code

This commit is contained in:
Óscar González Fernández 2009-10-29 19:05:29 +01:00
parent beabdb382c
commit 8ca81fcc46

View file

@ -290,12 +290,10 @@ public class Task extends TaskElement {
this.calculatedValue = calculatedValue;
setStartDate(start.toDateTimeAtStartOfDay().toDate());
setDaysDuration(Days.daysBetween(start, end).getDays());
List<ResourceAllocation<?>> modified = new ArrayList<ResourceAllocation<?>>();
for (ModifiedAllocation pair : modifications) {
Validate.isTrue(resourceAllocations.contains(pair.getOriginal()));
pair.getOriginal().mergeAssignmentsAndResourcesPerDay(
pair.getModification());
modified.add(pair.getOriginal());
}
remove(toRemove);
addAllocations(newAllocations);