Bug #1423: Remove unneeded line

Children tasks are already added with the addTask method from the root element.

FEA: ItEr76S04BugFixing
This commit is contained in:
Manuel Rego Casasnovas 2012-05-23 08:48:02 +02:00
parent df0765db0b
commit a5f69433a2

View file

@ -203,7 +203,6 @@ public class MonteCarloTabCreator {
GanttDiagramGraph<TaskElement, DependencyWithVisibility> graph = createFor( GanttDiagramGraph<TaskElement, DependencyWithVisibility> graph = createFor(
order, adapter); order, adapter);
graph.addTask(order.getAssociatedTaskElement()); graph.addTask(order.getAssociatedTaskElement());
graph.addTasks(order.getAllChildrenAssociatedTaskElements());
addDependencies(graph, order); addDependencies(graph, order);
return criticalPathCalculator.calculateCriticalPath(graph); return criticalPathCalculator.calculateCriticalPath(graph);
} }