Changeset 1432 for trunk/autoquest-ui-core/src/main/java/de/ugoe
- Timestamp:
- 03/04/14 12:11:14 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-ui-core/src/main/java/de/ugoe/cs/autoquest/commands/sequences/CMDcorrectTabKeyNavigationOrder.java
r1316 r1432 119 119 while (index < sequence.size()) { 120 120 if (mustCorrectTabKeyNavigationOrder(sequence, index)) { 121 result.add(sequence.get(index + 1)); 122 result.add(sequence.get(index)); 121 Event event1 = sequence.get(index); 122 Event event2 = sequence.get(index + 1); 123 124 // switch timestamps 125 long timestamp1 = event1.getTimestamp(); 126 event1.setTimestamp(event2.getTimestamp()); 127 event2.setTimestamp(timestamp1); 128 129 // change order of events 130 result.add(event2); 131 result.add(event1); 132 123 133 index += 2; 124 134 }
Note: See TracChangeset
for help on using the changeset viewer.