Remove unnecessary code
The global end constraints are applied in the dominating forces when appropriate. FEA: ItEr66S04BugFixing
This commit is contained in:
parent
b6b7327f72
commit
6cd735f009
1 changed files with 1 additions and 6 deletions
|
|
@ -1596,12 +1596,7 @@ public class GanttDiagramGraph<V, D extends IDependency<V>> implements
|
|||
|
||||
@Override
|
||||
List<Constraint<GanttDate>> getEndConstraints() {
|
||||
List<Constraint<GanttDate>> result = new ArrayList<Constraint<GanttDate>>();
|
||||
result.addAll(adapter.getEndConstraintsFor(task));
|
||||
if (scheduleBackwards) {
|
||||
result.addAll(globalEndConstraints);
|
||||
}
|
||||
return result;
|
||||
return adapter.getEndConstraintsFor(task);
|
||||
}
|
||||
|
||||
private PositionRestrictions enforceRestrictions(GanttDate newEnd) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue