Remove the generic location (replace by Comparable)
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core.tests / stubs / org / eclipse / linuxtools / tmf / tests / stubs / trace / TmfEventParserStub.java
index 302b95476eeb2ee1128c542663c111c2f9ac45c8..8ee1ce49f97f3ab17b43fefc4e659ec223589b72 100644 (file)
@@ -24,7 +24,6 @@ import org.eclipse.linuxtools.tmf.core.event.TmfEventType;
 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;
 
 /**
@@ -83,7 +82,7 @@ public class TmfEventParserStub implements ITmfEventParser {
 
         long location = 0;
         if (context != null && context.getLocation() != null) {
-            location = ((ITmfLocation<Long>) (context.getLocation())).getLocationData();
+            location = (Long) context.getLocation().getLocationData();
             try {
                 stream.seek(location);
 
This page took 0.024069 seconds and 5 git commands to generate.