ItEr57S04ValidacionEProbasFuncionaisItEr56S04: [Bug #447 #449] Fix bug.

The loop was wrong, an infinite loop could happen.
This commit is contained in:
Óscar González Fernández 2010-05-13 15:57:53 +02:00
parent 8ece754a88
commit 0d2e8a2ed2

View file

@ -1135,7 +1135,7 @@ public class GanttDiagramGraph implements ICriticalPathCalculable<Task> {
private Task getTopmostFor(Task task) {
Task result = task;
while (fromChildToParent.containsKey(result)) {
result = fromChildToParent.get(task);
result = fromChildToParent.get(result);
}
return result;
}