Fix for bug382279
authorFrancois Chouinard <fchouinard@gmail.com>
Mon, 11 Jun 2012 17:40:47 +0000 (13:40 -0400)
committerFrancois Chouinard <fchouinard@gmail.com>
Mon, 11 Jun 2012 17:40:47 +0000 (13:40 -0400)
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/trace/TmfTrace.java

index b8a3d6a20bedbcf511474ebca1ec584a63ae19d4..50abe774fce01c67e38637e202c4e24d3888490b 100644 (file)
@@ -482,7 +482,8 @@ public abstract class TmfTrace<T extends ITmfEvent> extends TmfEventProvider<T>
         final ITmfContext nextEventContext = context.clone(); // Must use clone() to get the right subtype...
         ITmfEvent event = getNext(nextEventContext);
         while (event != null && event.getTimestamp().compareTo(timestamp, false) < 0) {
-            getNext(context);
+//            getNext(context);
+            context = nextEventContext.clone();
             event = getNext(nextEventContext);
         }
         if (event == null) {
This page took 0.024438 seconds and 5 git commands to generate.