Changeset 1096 for trunk/autoquest-ui-core/src/main/java
- Timestamp:
- 02/20/13 11:16:57 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-ui-core/src/main/java/de/ugoe/cs/autoquest/commands/sequences/CMDsplitSequences.java
r1091 r1096 91 91 } 92 92 93 if (previous == null) { 94 previous = currentEvent; 95 } 96 else if (Math.abs(previous.getTimestamp() - currentEvent.getTimestamp()) > diff) { 93 if ((previous != null) && 94 (Math.abs(previous.getTimestamp() - currentEvent.getTimestamp()) > diff)) 95 { 97 96 newSequences.add(resultingSequence); 98 97 resultingSequence = new LinkedList<Event>(); … … 100 99 101 100 resultingSequence.add(currentEvent); 101 previous = currentEvent; 102 102 } 103 103
Note: See TracChangeset
for help on using the changeset viewer.