Changeset 2031
- Timestamp:
- 07/30/15 14:27:03 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-ui-core/src/main/java/de/ugoe/cs/autoquest/commands/usability/CMDmergeSimilarTasks.java
r1952 r2031 21 21 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 22 22 import de.ugoe.cs.util.console.Command; 23 import de.ugoe.cs.util.console.Console; 23 24 import de.ugoe.cs.util.console.GlobalDataContainer; 24 25 … … 72 73 inputTaskModel = (ITaskModel) dataObject; 73 74 74 ITaskModel taskModel = new TaskTreeManager().mergeSimilarTasks(inputTaskModel); 75 76 if (GlobalDataContainer.getInstance().addData(inputTaskTreeName, taskModel)) { 77 CommandHelpers.dataOverwritten(inputTaskTreeName); 75 try { 76 ITaskModel taskModel = new TaskTreeManager().mergeSimilarTasks(inputTaskModel); 77 78 if (GlobalDataContainer.getInstance().addData(inputTaskTreeName, taskModel)) { 79 CommandHelpers.dataOverwritten(inputTaskTreeName); 80 } 81 } 82 catch (Exception e) { 83 Console.logException(e); 78 84 } 79 85
Note: See TracChangeset
for help on using the changeset viewer.