Remove the generic location (replace by Comparable)
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / internal / tmf / ui / parsers / custom / CustomXmlTrace.java
index 000c318068d64cd7acadc4e9cf823948ee7508e3..98bb835bccd51caabbca975e4fd62f4ee214283b 100644 (file)
@@ -93,7 +93,7 @@ public class CustomXmlTrace extends TmfTrace implements ITmfEventParser {
     }\r
 \r
     @Override\r
-    public synchronized TmfContext seekEvent(final ITmfLocation<?> location) {\r
+    public synchronized TmfContext seekEvent(final ITmfLocation location) {\r
         final CustomXmlTraceContext context = new CustomXmlTraceContext(NULL_LOCATION, ITmfContext.UNKNOWN_RANK);\r
         if (NULL_LOCATION.equals(location) || fFile == null) {\r
             return context;\r
@@ -138,7 +138,7 @@ public class CustomXmlTrace extends TmfTrace implements ITmfEventParser {
                 }\r
                 pos--;\r
             }\r
-            final ITmfLocation<Long> location = new TmfLongLocation(pos);\r
+            final ITmfLocation location = new TmfLongLocation(pos);\r
             final TmfContext context = seekEvent(location);\r
             context.setRank(ITmfContext.UNKNOWN_RANK);\r
             return context;\r
@@ -149,7 +149,7 @@ public class CustomXmlTrace extends TmfTrace implements ITmfEventParser {
     }\r
 \r
     @Override\r
-    public synchronized double getLocationRatio(final ITmfLocation<?> location) {\r
+    public synchronized double getLocationRatio(final ITmfLocation location) {\r
         if (fFile == null) {\r
             return 0;\r
         }\r
@@ -164,7 +164,7 @@ public class CustomXmlTrace extends TmfTrace implements ITmfEventParser {
     }\r
 \r
     @Override\r
-    public ITmfLocation<?> getCurrentLocation() {\r
+    public ITmfLocation getCurrentLocation() {\r
         // TODO Auto-generated method stub\r
         return null;\r
     }\r
This page took 0.024262 seconds and 5 git commands to generate.