Commit | Line | Data |
---|---|---|
cb8c854e FC |
1 | /******************************************************************************* |
2 | * Copyright (c) 2012 Ericsson | |
3 | * | |
4 | * All rights reserved. This program and the accompanying materials are | |
5 | * made available under the terms of the Eclipse Public License v1.0 which | |
6 | * accompanies this distribution, and is available at | |
7 | * http://www.eclipse.org/legal/epl-v10.html | |
8 | * | |
9 | * Contributors: | |
10 | * Francois Chouinard - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | ||
13 | package org.eclipse.linuxtools.tmf.core.tests.trace; | |
14 | ||
15 | import org.eclipse.linuxtools.tmf.core.trace.TmfLocation; | |
16 | ||
17 | /** | |
18 | * <b><u>TmfStringLocation</u></b> | |
19 | * <p> | |
20 | * Implement me. Please. | |
21 | * <p> | |
22 | */ | |
1e1bef82 FC |
23 | @SuppressWarnings("javadoc") |
24 | public class TmfStringLocation extends TmfLocation { | |
cb8c854e FC |
25 | |
26 | public TmfStringLocation(String location) { | |
27 | super(location); | |
28 | } | |
29 | ||
1e1bef82 | 30 | public TmfStringLocation(TmfStringLocation other) { |
5976d44a | 31 | super(other.getLocationInfo()); |
cb8c854e FC |
32 | } |
33 | ||
34 | @Override | |
35 | public TmfStringLocation clone() { | |
5976d44a | 36 | return new TmfStringLocation((String) getLocationInfo()); |
cb8c854e FC |
37 | } |
38 | ||
39 | } |