Rename xxx.lttng to xxx.lttng.core
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.tests / stubs / org / eclipse / linuxtools / tmf / trace / TmfTraceStub.java
index 16ef92042e50d563636411997d1e63b12096bb7a..e2cdcbc04450727edb03018a23efef22734d4bc1 100644 (file)
@@ -80,7 +80,7 @@ public class TmfTraceStub extends TmfTrace<TmfEvent> {
      * @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();
     }
@@ -115,7 +115,7 @@ public class TmfTraceStub extends TmfTrace<TmfEvent> {
     }
  
     @Override
-       public ITmfTrace createTraceCopy() {
+       public ITmfTrace copy() {
                ITmfTrace returnedValue = null;
                returnedValue = clone();
                return returnedValue;
@@ -135,7 +135,7 @@ public class TmfTraceStub extends TmfTrace<TmfEvent> {
 
        @Override
        @SuppressWarnings("unchecked")
-       public TmfContext seekLocation(ITmfLocation<?> location) {
+       public TmfContext seekLocation(ITmfLocation location) {
            fLock.lock();
         try {
             if (fTrace != null) {
@@ -183,7 +183,8 @@ public class TmfTraceStub extends TmfTrace<TmfEvent> {
     }
 
     @Override
-    public double getLocationRatio(ITmfLocation<?> location) {
+    @SuppressWarnings("rawtypes")
+    public double getLocationRatio(ITmfLocation location) {
         fLock.lock();
         try {
             if (fTrace != null) {
This page took 0.024485 seconds and 5 git commands to generate.