Add test cases for float definitions.
[deliverable/tracecompass.git] / org.eclipse.linuxtools.ctf.core / src / org / eclipse / linuxtools / ctf / core / trace / CTFTraceReader.java
index f0039dfac9b621b679784abe271c86e3215fb300..294663e2f570b28ab0893b82fff37a06378311ce 100644 (file)
@@ -104,7 +104,7 @@ public class CTFTraceReader {
         if (hasMoreEvents()) {
             this.startTime = prio.peek().getCurrentEvent().timestamp;
             this.endTime = this.startTime;
-            this.index = 0;
+            this.fIndex = 0;
         }
         startIndex = new HashMap<Integer, Long>();
     }
@@ -258,8 +258,8 @@ public class CTFTraceReader {
                     startIndex.put(n, 0L);
                 }
                 currentPacket.setIndexBegin(startIndex.get(n));
-                currentPacket.setIndexEnd(index);
-                startIndex.put(n, index + 1);
+                currentPacket.setIndexEnd(fIndex);
+                startIndex.put(n, fIndex + 1);
             }
         }
         /*
This page took 0.024066 seconds and 5 git commands to generate.