Changeset 704 for trunk/quest-plugin-jfc/src/main/java/de
- Timestamp:
- 08/29/12 16:22:31 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-plugin-jfc/src/main/java/de/ugoe/cs/quest/plugin/jfc/JFCLogParser.java
r655 r704 32 32 import de.ugoe.cs.quest.eventcore.Event; 33 33 import de.ugoe.cs.quest.eventcore.gui.IInteraction; 34 import de.ugoe.cs.quest.eventcore.gui.InteractionEventList;35 34 import de.ugoe.cs.quest.eventcore.gui.KeyPressed; 36 35 import de.ugoe.cs.quest.eventcore.gui.KeyReleased; … … 93 92 * </p> 94 93 */ 95 private InteractionEventListcurrentSequence;94 private List<Event> currentSequence; 96 95 97 96 /** … … 167 166 public JFCLogParser() { 168 167 sequences = new LinkedList<List<Event>>(); 169 currentSequence = n ew InteractionEventList();168 currentSequence = null; 170 169 setupDefaultEventFilter(); 171 170 } … … 185 184 public JFCLogParser(Collection<JFCEventId> ignoredEvents) { 186 185 sequences = new LinkedList<List<Event>>(); 187 currentSequence = n ew InteractionEventList();186 currentSequence = null; 188 187 eventFilter = ignoredEvents; 189 188 } … … 300 299 { 301 300 if (qName.equals("sessions")) { 302 currentSequence = new InteractionEventList();301 currentSequence = new LinkedList<Event>(); 303 302 } 304 303 if (qName.equals("newsession")) { … … 308 307 sequences.add(currentSequence.subList(0, currentSequence.size() - 1)); 309 308 } 310 currentSequence = new InteractionEventList();309 currentSequence = new LinkedList<Event>(); 311 310 } 312 311 else if (qName.equals("event")) {
Note: See TracChangeset
for help on using the changeset viewer.