Changeset 317
- Timestamp:
- 12/14/11 14:21:02 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/jfc/JFCLogParser.java
r305 r317 87 87 public JFCLogParser() { 88 88 sequences = new LinkedList<List<JFCEvent>>(); 89 currentSequence = new LinkedList<JFCEvent>(); 89 90 } 90 91 … … 111 112 if (qName.equals("newsession")) { 112 113 Console.traceln("start of session"); 113 if (currentSequence != null && currentSequence.size() != 0) {114 if (currentSequence != null && !currentSequence.isEmpty()) { 114 115 sequences.add(currentSequence); 115 116 currentSequence = new LinkedList<JFCEvent>(); … … 151 152 } else if (qName.equals("parent")) { 152 153 paramSource = ParamSource.SOURCE; 154 } else if (qName.equals("sessions")) { 155 if(currentSequence!=null && !currentSequence.isEmpty() ) { 156 sequences.add(currentSequence); 157 } 153 158 } 154 159 }
Note: See TracChangeset
for help on using the changeset viewer.