Bug #1387: Code refactor of the previous patches for this bug.
FEA: ItEr76S04BugFixing
This commit is contained in:
parent
5d8860474b
commit
398aab26ba
1 changed files with 1 additions and 7 deletions
|
|
@ -290,7 +290,7 @@ public abstract class OrderElement extends IntegrationEntity implements
|
|||
SchedulingDataForVersion schedulingDataForVersion) {
|
||||
List<TaskSourceSynchronization> result = new ArrayList<TaskSourceSynchronization>();
|
||||
if (isSchedulingPoint()) {
|
||||
if (itWasntSchedulingPoint()) {
|
||||
if (!wasASchedulingPoint()) {
|
||||
//this element was a container but now it's a scheduling point
|
||||
//we have to remove the TaskSource which contains a TaskGroup instead of TaskElement
|
||||
removeTaskSource(result);
|
||||
|
|
@ -329,12 +329,6 @@ public abstract class OrderElement extends IntegrationEntity implements
|
|||
.getSchedulingStateType();
|
||||
}
|
||||
|
||||
private boolean itWasntSchedulingPoint() {
|
||||
SchedulingDataForVersion currentVersionOnDB = getCurrentVersionOnDB();
|
||||
return SchedulingState.Type.SCHEDULING_POINT != currentVersionOnDB
|
||||
.getSchedulingStateType();
|
||||
}
|
||||
|
||||
private List<TaskSourceSynchronization> childrenSynchronizations() {
|
||||
List<TaskSourceSynchronization> childrenOfGroup = new ArrayList<TaskSourceSynchronization>();
|
||||
for (OrderElement orderElement : getSomewhatScheduledOrderElements()) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue