tmf.core: Introduce TmfTimestamp factory methods
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / tmf / core / trace / indexer / checkpoint / TmfCheckpoint.java
index efe3a552d395deea51604c641cb26d5aae48e5ef..0582179595f8f22fa39e3240c8eaa9f8b5b86402 100644 (file)
@@ -197,8 +197,7 @@ public class TmfCheckpoint implements ITmfCheckpoint {
         fLocation.serialize(bufferOut);
         // Always serialize as base TmfTimestamp, this should be sufficient for indexing.
         // If not, we can add API for the test to restore the time stamp, similarly to the location.
-        TmfTimestamp t = new TmfTimestamp(fTimestamp);
-        t.serialize(bufferOut);
+        TmfTimestamp.serialize(bufferOut, fTimestamp);
         bufferOut.putLong(fCheckpointRank);
     }
 
This page took 0.030907 seconds and 5 git commands to generate.