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 01547b6b3088ba4c560a4710e572e10aa4713dc4..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
@@ -46,21 +46,4 @@ public class TmfLongLocation extends TmfLocation {
         return (Long) super.getLocationInfo();
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.TmfLocation#clone()
-     */
-    @Override
-    public TmfLongLocation clone() {
-        return (TmfLongLocation) super.clone();
-    }
-
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.TmfLocation#cloneValue()
-     */
-    @Override
-    protected Long cloneLocationInfo() {
-        // No need to clone a Long
-        return getLocationInfo();
-    }
-
 }
This page took 0.024006 seconds and 5 git commands to generate.