Remove the generic location (replace by Comparable)
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / trace / TmfTimestampLocation.java
index 2e5491c692b3a416eede8f04f0c1a64d15fed2d8..3562878e715fa5d251f1dec4bfddd39677718d2a 100644 (file)
@@ -21,18 +21,24 @@ import org.eclipse.linuxtools.tmf.core.event.ITmfTimestamp;
  * <p>
  * @since 2.0
  */
-public class TmfTimestampLocation extends TmfLocation<ITmfTimestamp> {
+public class TmfTimestampLocation extends TmfLocation {
 
+    /**
+     * @param location the location
+     */
     public TmfTimestampLocation(ITmfTimestamp location) {
         super(location);
     }
 
-    public TmfTimestampLocation(TmfTimestampLocation location) {
-        super( location.getLocationData());
+    /**
+     * @param other the other location
+     */
+    public TmfTimestampLocation(TmfTimestampLocation other) {
+        super(other.getLocationData());
     }
 
     @Override
     public TmfTimestampLocation clone() {
-        return new TmfTimestampLocation(getLocationData());
+        return new TmfTimestampLocation((ITmfTimestamp) getLocationData());
     }
 }
This page took 0.024647 seconds and 5 git commands to generate.