/*******************************************************************************
- * 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
* 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();
}
}