ItEr58S14RecalculosConexionEscenariosItEr57S15: Rename method to a more meaningful name

This commit is contained in:
Óscar González Fernández 2010-05-18 20:53:58 +02:00
parent 008f581d2f
commit 8a17ed629c

View file

@ -100,7 +100,7 @@ public class GanttDiagramGraph<V, D> {
Constraint<Date> getEndDateBiggerThanStartDateConstraintFor(V task);
List<Constraint<Date>> getConstraintsGivenIncoming(Set<D> incoming);
List<Constraint<Date>> getEndConstraintsGivenIncoming(Set<D> incoming);
List<Constraint<Date>> getStartCosntraintsGiven(Set<D> withDependencies);
@ -194,7 +194,7 @@ public class GanttDiagramGraph<V, D> {
}
@Override
public List<Constraint<Date>> getConstraintsGivenIncoming(
public List<Constraint<Date>> getEndConstraintsGivenIncoming(
Set<Dependency> incoming) {
return Dependency.getEndConstraints(incoming);
}
@ -1030,7 +1030,7 @@ public class GanttDiagramGraph<V, D> {
.getEndDateBiggerThanStartDateConstraintFor(task);
Date newEnd = Constraint.<Date> initialValue(null)
.withConstraints(currentLength)
.withConstraints(adapter.getConstraintsGivenIncoming(incoming))
.withConstraints(adapter.getEndConstraintsGivenIncoming(incoming))
.withConstraints(respectStartDate)
.apply();
if (!adapter.getEndDateFor(task).equals(newEnd)) {