Remove the generic location (replace by Comparable)
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / trace / TmfLongLocation.java
index 3caa0fc88231993dc4163a78c616caf0c5610d65..0bf5b7369d9522b80a347a92bd68841d4c920d66 100644 (file)
@@ -20,18 +20,24 @@ package org.eclipse.linuxtools.tmf.core.trace;
  * <p>
  * @since 2.0
  */
-public class TmfLongLocation extends TmfLocation<Long> {
+public class TmfLongLocation extends TmfLocation {
 
+    /**
+     * @param location the location
+     */
     public TmfLongLocation(Long location) {
         super(location);
     }
 
-    public TmfLongLocation(TmfLongLocation location) {
-        super(location.getLocationData());
+    /**
+     * @param other the other location
+     */
+    public TmfLongLocation(TmfLongLocation other) {
+        super(other.getLocationData());
     }
 
     @Override
     public TmfLongLocation clone() {
-        return new TmfLongLocation(getLocationData());
+        return new TmfLongLocation((Long) getLocationData());
     }
 }
This page took 0.024135 seconds and 5 git commands to generate.