lttng: More luna annotation updates
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core.tests / src / org / eclipse / linuxtools / tmf / core / tests / trace / TmfStringLocation.java
index ae805bb1451186a0e7d7156d9f7315bcf3d24752..aa707fb431bd94209a86fee42efd6b513772b861 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -20,20 +20,25 @@ import org.eclipse.linuxtools.tmf.core.trace.TmfLocation;
  * Implement me. Please.
  * <p>
  */
-@SuppressWarnings("javadoc")
 public class TmfStringLocation extends TmfLocation {
 
+    /**
+     * @param location the concrete trace location
+     */
     public TmfStringLocation(String location) {
         super(location);
     }
 
+    /**
+     * @param other the other location
+     */
     public TmfStringLocation(TmfStringLocation other) {
-        super(other.getLocationData());
+        super(other.getLocationInfo());
     }
 
     @Override
-    public TmfStringLocation clone() {
-        return new TmfStringLocation((String) getLocationData());
+    public String getLocationInfo() {
+        return (String) super.getLocationInfo();
     }
 
 }
This page took 0.024393 seconds and 5 git commands to generate.