import org.eclipse.linuxtools.tmf.core.event.TmfTimestamp;
import org.eclipse.linuxtools.tmf.core.trace.ITmfContext;
import org.eclipse.linuxtools.tmf.core.trace.ITmfEventParser;
-import org.eclipse.linuxtools.tmf.core.trace.ITmfLocation;
import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace;
/**
long location = 0;
if (context != null && context.getLocation() != null) {
- location = ((ITmfLocation<Long>) (context.getLocation())).getLocationData();
+ location = (Long) context.getLocation().getLocationData();
try {
stream.seek(location);