[Bug #772] Fix bug
Enforcing restrictions on the source because it can be affected too when doing backwards allocation. FEA: ItEr66S04BugFixing
This commit is contained in:
parent
a884449609
commit
d4628bf37c
1 changed files with 2 additions and 0 deletions
|
|
@ -1665,7 +1665,9 @@ public class GanttDiagramGraph<V, D extends IDependency<V>> implements
|
|||
public void removeDependency(D dependency) {
|
||||
graph.removeEdge(dependency);
|
||||
V destination = adapter.getDestination(dependency);
|
||||
V source = adapter.getSource(dependency);
|
||||
enforcer.enforceRestrictionsOn(destination);
|
||||
enforcer.enforceRestrictionsOn(source);
|
||||
}
|
||||
|
||||
public boolean canAddDependency(D dependency) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue