Add code coverage for TmfSimpleTimestamp
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / event / TmfSimpleTimestamp.java
index 8e6816c2b3c9f0df34262e13f50bc114b3a15352..1a32255989cdd4c507bf873bb8cd96af7c25b4cf 100644 (file)
@@ -44,7 +44,7 @@ public class TmfSimpleTimestamp extends TmfTimestamp {
      * 
      * @param timestamp the timestamp to copy
      */
-    public TmfSimpleTimestamp(TmfSimpleTimestamp timestamp) {
+    public TmfSimpleTimestamp(ITmfTimestamp timestamp) {
         if (timestamp == null || timestamp.getScale() != 0 || timestamp.getPrecision() != 0)
             throw new IllegalArgumentException();
         fValue = timestamp.getValue();
@@ -106,6 +106,7 @@ public class TmfSimpleTimestamp extends TmfTimestamp {
         if (!(other instanceof TmfSimpleTimestamp))
             return super.equals(other);
         TmfSimpleTimestamp ts = (TmfSimpleTimestamp) other;
+
         return compareTo(ts, false) == 0;
     }
 
This page took 0.024337 seconds and 5 git commands to generate.