* @throws FileNotFoundException
*/
public TmfTraceStub(String filename, int cacheSize, boolean waitForCompletion) throws FileNotFoundException {
- super(filename, TmfEvent.class, filename, cacheSize, false);
+ super(null, TmfEvent.class, filename, cacheSize, false);
fTrace = new RandomAccessFile(filename, "r");
fParser = new TmfEventParserStub();
}
}
@Override
- public ITmfTrace createTraceCopy() {
+ public ITmfTrace copy() {
ITmfTrace returnedValue = null;
returnedValue = clone();
return returnedValue;
@Override
@SuppressWarnings("unchecked")
- public TmfContext seekLocation(ITmfLocation<?> location) {
+ public TmfContext seekLocation(ITmfLocation location) {
fLock.lock();
try {
if (fTrace != null) {
}
@Override
- public double getLocationRatio(ITmfLocation<?> location) {
+ @SuppressWarnings("rawtypes")
+ public double getLocationRatio(ITmfLocation location) {
fLock.lock();
try {
if (fTrace != null) {