diff --git a/navalplanner-business/src/main/java/org/navalplanner/business/planner/entities/Task.java b/navalplanner-business/src/main/java/org/navalplanner/business/planner/entities/Task.java index 98f1b2b10..a42ffe90d 100644 --- a/navalplanner-business/src/main/java/org/navalplanner/business/planner/entities/Task.java +++ b/navalplanner-business/src/main/java/org/navalplanner/business/planner/entities/Task.java @@ -732,11 +732,10 @@ public class Task extends TaskElement implements ITaskPositionConstrained { doAllocation(strategy, direction, toBeModified); updateDerived(copied); - List> newAllocations = emptyList(), - modifiedAllocations = emptyList(); + List> newAllocations = emptyList(), removedAllocations = emptyList(); mergeAllocation(onScenario, getIntraDayStartDate(), getIntraDayEndDate(), workableDays, calculatedValue, - newAllocations, copied, modifiedAllocations); + newAllocations, copied, removedAllocations); } catch (Exception e) { LOG.error("reassignment for task: " + this + " couldn't be completed", e);