tmf.core: Introduce TmfTimestamp factory methods
[deliverable/tracecompass.git] / btf / org.eclipse.tracecompass.btf.core / src / org / eclipse / tracecompass / btf / core / trace / BtfTimestampFormat.java
index 8953f62be0f9a158994dee088326859323ec8135..f02819a0a25ff363631e12669cdca875da5edef0 100644 (file)
@@ -100,6 +100,6 @@ public enum BtfTimestampFormat {
      * @return TmfTimestamp with proper scale
      */
     public @NonNull ITmfTimestamp createTimestamp(long timestamp) {
-        return new TmfTimestamp(timestamp, fScale);
+        return TmfTimestamp.create(timestamp, fScale);
     }
 }
This page took 0.025307 seconds and 5 git commands to generate.