ItEr58S14RecalculosConexionEscenariosItEr57S15: [Bug #465] Fix bug.

The condition was wrong. When the tasks are not preexistent the tasks cannot be removed
This commit is contained in:
Óscar González Fernández 2010-05-22 20:19:46 +02:00
parent f3bd2501e5
commit 2d1a5682f0

View file

@ -144,7 +144,7 @@ public class TaskSource extends BaseEntity {
@Override
public TaskElement apply(ITaskSourceDAO taskSourceDAO,
boolean preexistent) {
if (!preexistent) {
if (preexistent) {
for (TaskSource each : toBeRemovedFromBottomToTop) {
remove(taskSourceDAO, each);
}