Remove code with no effect

FEA: ItEr74S04BugFixing
This commit is contained in:
Óscar González Fernández 2011-05-13 17:22:29 +02:00
parent ed7c26d8f5
commit ca1a0fed28

View file

@ -362,15 +362,6 @@ public class AdvanceConsolidationModel implements IAdvanceConsolidationModel {
endExclusive, pendingEffort);
}
// delete the assignments with posterior date than endDate
List<DayAssignment> toremove = new ArrayList<DayAssignment>();
for (DayAssignment dayAssignment : task.getDayAssignments()) {
if (dayAssignment.getDay().compareTo(endExclusive) >= 0) {
toremove.add(dayAssignment);
}
}
task.getDayAssignments().removeAll(toremove);
// update the day assignment which not are consolidated
// according to the first day not consolidated in the task
for (DayAssignment dayAssignment : task.getDayAssignments()) {