Fix variable name
Not always is the start date. FEA: ItEr64OTS03PlanificacionHaciaAtras
This commit is contained in:
parent
297d3e6106
commit
e1fbe76a4d
1 changed files with 3 additions and 3 deletions
|
|
@ -1274,17 +1274,17 @@ public class GanttDiagramGraph<V, D extends IDependency<V>> implements
|
|||
*/
|
||||
private GanttDate calculatePrimaryPointDate(
|
||||
PositionRestrictions originalRestrictions) {
|
||||
GanttDate newStart = Constraint
|
||||
GanttDate newDate = Constraint
|
||||
.<GanttDate> initialValue(null)
|
||||
.withConstraints(
|
||||
getConstraintsFrom(originalRestrictions,
|
||||
getPrimaryPoint()))
|
||||
.withConstraints(getConstraintsFor(getPrimaryPoint()))
|
||||
.applyWithoutFinalCheck();
|
||||
if (newStart == null) {
|
||||
if (newDate == null) {
|
||||
return getTaskDateFor(getPrimaryPoint());
|
||||
}
|
||||
return newStart;
|
||||
return newDate;
|
||||
}
|
||||
|
||||
private List<Constraint<GanttDate>> getConstraintsFor(Point point) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue