Changeset 1953


Ignore:
Timestamp:
05/29/15 12:09:18 (9 years ago)
Author:
pharms
Message:
  • bugfix ensuring that updating the model of a selection is done correctly
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/CondenseSimilarTasksRule.java

    r1854 r1953  
    11771177            } 
    11781178            else { 
     1179                ITask previousChildTask = childInstance.getTask(); 
    11791180                ITask modelUpdate = replaceTaskInstances(childInstance, replacements, similarTasks, 
    11801181                                                         harmonizedIteration, harmonizedOptional); 
    11811182                 
    11821183                if (modelUpdate != null) { 
    1183                     taskBuilder.removeChild 
    1184                         (selectionInstance.getSelection(), childInstance.getTask()); 
     1184                    taskBuilder.removeChild(selectionInstance.getSelection(), previousChildTask); 
    11851185 
    11861186                    boolean found = false; 
Note: See TracChangeset for help on using the changeset viewer.