The loop was wrong, an infinite loop could happen.
This commit is contained in:
parent
8ece754a88
commit
0d2e8a2ed2
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue