Make the TmfLocation final and get rid of clone()
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / trace / TmfLongLocation.java
index 5672bfbb97001251591e421826e7d6d96d7b389f..b54ec5da31d08603c9e703f493799f0f545617cd 100644 (file)
@@ -18,7 +18,7 @@ package org.eclipse.linuxtools.tmf.core.trace;
  * @author Francois Chouinard
  * @since 2.0
  */
-public class TmfLongLocation extends TmfLocation {
+public final class TmfLongLocation extends TmfLocation {
 
     /**
      * The normal constructor
@@ -39,11 +39,11 @@ public class TmfLongLocation extends TmfLocation {
     }
 
     /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.TmfLocation#clone()
+     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfLocation#getLocationInfo()
      */
     @Override
-    public TmfLongLocation clone() {
-        return new TmfLongLocation((Long) getLocationInfo());
+    public Long getLocationInfo() {
+        return (Long) super.getLocationInfo();
     }
 
 }
This page took 0.03241 seconds and 5 git commands to generate.