Rename method
Now it reflects better its meaning. FEA: ItEr66S04BugFixing
This commit is contained in:
parent
2809763f1a
commit
cfa4060d4e
2 changed files with 2 additions and 2 deletions
|
|
@ -823,7 +823,7 @@ public abstract class OrderElement extends IntegrationEntity implements
|
|||
return criterionRequirementHandler.getIndirectCriterionRequirement(criterionRequirements);
|
||||
}
|
||||
|
||||
public void applyStartConstraintTo(Task task) {
|
||||
public void applyInitialPositionConstraintTo(Task task) {
|
||||
boolean scheduleBackwards = getOrder().isScheduleBackwards();
|
||||
OrderElement current = this;
|
||||
while (current != null) {
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ public class Task extends TaskElement implements ITaskPositionConstrained {
|
|||
public static Task createTask(TaskSource taskSource) {
|
||||
Task task = new Task();
|
||||
OrderElement orderElement = taskSource.getOrderElement();
|
||||
orderElement.applyStartConstraintTo(task);
|
||||
orderElement.applyInitialPositionConstraintTo(task);
|
||||
Task result = create(task, taskSource);
|
||||
result.initializeDates();
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue