Changeset 409
- Timestamp:
- 04/03/12 10:23:34 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/commands/CMDgenerateRandomSequences.java
r388 r409 28 28 * @see de.ugoe.cs.util.console.Command#run(java.util.List) 29 29 */ 30 @SuppressWarnings("unchecked") 30 31 @Override 31 32 public void run(List<Object> parameters) { … … 74 75 if (generatedSequence.size() >= minLength 75 76 && generatedSequence.size() <= maxLength) { 77 ((List<Event<?>>) generatedSequence).add(0, Event.STARTEVENT); 78 if( validEnd ) { 79 ((List<Event<?>>) generatedSequence).add(Event.ENDEVENT); 80 } 76 81 sequences.add(generatedSequence); 77 82 }
Note: See TracChangeset
for help on using the changeset viewer.