tmf: Use tabs in statistics view for each traces
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.core / src / org / eclipse / linuxtools / internal / lttng / core / event / LttngLocation.java
index 08bfcafbb431b989dcc84e100aa8f1132b31a93d..8869483b72e5cc535821f27e572316621414177c 100644 (file)
@@ -3,7 +3,7 @@ package org.eclipse.linuxtools.internal.lttng.core.event;
 import org.eclipse.linuxtools.tmf.core.trace.ITmfLocation;
 
 
-public class LttngLocation implements ITmfLocation<LttngTimestamp>, Comparable<LttngLocation> {
+public class LttngLocation implements ITmfLocation<LttngTimestamp>, Comparable<LttngLocation>, Cloneable {
 
     private final static long DEFAULT_CURR_TIME =  0L;
 
@@ -36,7 +36,7 @@ public class LttngLocation implements ITmfLocation<LttngTimestamp>, Comparable<L
         this.isLastOperationParse = oldLocation.isLastOperationParse;
         this.isLastOperationReadNext = oldLocation.isLastOperationReadNext;
         this.isLastOperationSeek = oldLocation.isLastOperationSeek;
-        this.operationTime = oldLocation.operationTime;
+        this.operationTime = oldLocation.operationTime.clone();
     }
 
     @Override
This page took 0.024002 seconds and 5 git commands to generate.