2010-09-17 Francois Chouinard <fchouinard@gmail.com> Contribution for Bug325662
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.headless / src / TmfTraceTest.java
index be3636ed5b7ff7f1ba88036b0302a913f2559c63..6775ea75145e2fa8b859f3dea7de4ef36eaf5a4a 100644 (file)
@@ -80,15 +80,11 @@ public class TmfTraceTest extends TmfEventRequest<LttngEvent> {
 
        }
 
-
        @Override
-    public void handleData() {
-        LttngEvent[] result = getData();
-        
-        LttngEvent evt = (result.length > 0) ? result[0] : null;
-        
-        if ( (evt != null) && (PARSE_EVENTS) ) {
-            ((LttngEvent) evt).getContent().getFields();
+    public void handleData(LttngEvent event) {
+               super.handleData(event);
+        if ( (event != null) && (PARSE_EVENTS) ) {
+            ((LttngEvent) event).getContent().getFields();
             
             // *** Uncomment the following to print the parsed content
             // Warning : this is VERY intensive
This page took 0.023844 seconds and 5 git commands to generate.