Changeset 1164 for trunk/autoquest-core-usability-evaluation/src/main
- Timestamp:
- 04/19/13 19:44:19 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-usability-evaluation/src/main/java/de/ugoe/cs/autoquest/usability/util/PatternsVisitorUtil.java
r1152 r1164 21 21 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITask; 22 22 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 23 import de.ugoe.cs.autoquest.tasktrees.treeifc.IUserSession; 23 24 import de.ugoe.cs.autoquest.tasktrees.treeimpl.TaskFactory; 24 25 … … 44 45 * @return 45 46 */ 46 public static ITaskModel createTaskModelFrom Node(ITask task) {47 return new TaskFactory().createTask Tree(task);47 public static ITaskModel createTaskModelFromUserSessions(List<IUserSession> userSessions) { 48 return new TaskFactory().createTaskModel(userSessions); 48 49 } 49 50 … … 57 58 */ 58 59 public static ITask firstNodeOf(List<ITask> tasks) { 59 return Iterables.getFirst(tasks, new Null Node());60 return Iterables.getFirst(tasks, new NullTask()); 60 61 } 61 62 … … 69 70 */ 70 71 public static ITask lastNodeOf(List<ITask> tasks) { 71 return Iterables.getLast(tasks, new Null Node());72 return Iterables.getLast(tasks, new NullTask()); 72 73 } 73 74
Note: See TracChangeset
for help on using the changeset viewer.