Changeset 353 for trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/jfc
- Timestamp:
- 01/25/12 13:26:49 (13 years ago)
- Location:
- trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/jfc
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/jfc/JFCLogParser.java
r317 r353 110 110 public void startElement(String uri, String localName, String qName, 111 111 Attributes atts) throws SAXException { 112 if( qName.equals("sessions") ) { 113 currentSequence = new LinkedList<JFCEvent>(); 114 } 112 115 if (qName.equals("newsession")) { 113 116 Console.traceln("start of session"); 114 117 if (currentSequence != null && !currentSequence.isEmpty()) { 115 118 sequences.add(currentSequence); 116 currentSequence = new LinkedList<JFCEvent>();117 }119 } 120 currentSequence = new LinkedList<JFCEvent>(); 118 121 } else if (qName.equals("event")) { 119 122 currentEvent = new JFCEvent(atts.getValue("id")); … … 156 159 sequences.add(currentSequence); 157 160 } 161 currentSequence = null; 158 162 } 159 163 }
Note: See TracChangeset
for help on using the changeset viewer.