tmf: Add generics to ITmfEventAspect
[deliverable/tracecompass.git] / analysis / org.eclipse.tracecompass.analysis.os.linux.core.tests / stubs / org / eclipse / tracecompass / analysis / os / linux / core / tests / stubs / trace / TmfXmlKernelTraceStub.java
index 6594d03fbe3b82c455f5d0b18ddfb07a7495f5fb..0a158deda79929e24736cb7e3bf17f4a594de79f 100644 (file)
@@ -10,8 +10,8 @@
 package org.eclipse.tracecompass.analysis.os.linux.core.tests.stubs.trace;
 
 import org.eclipse.jdt.annotation.Nullable;
+import org.eclipse.tracecompass.analysis.os.linux.core.event.aspect.ThreadPriorityAspect;
 import org.eclipse.tracecompass.analysis.os.linux.core.kernel.KernelTidAspect;
-import org.eclipse.tracecompass.analysis.os.linux.core.kernel.ThreadPriorityAspect;
 import org.eclipse.tracecompass.analysis.os.linux.core.trace.IKernelAnalysisEventLayout;
 import org.eclipse.tracecompass.analysis.os.linux.core.trace.IKernelTrace;
 import org.eclipse.tracecompass.tmf.core.event.aspect.ITmfEventAspect;
@@ -49,12 +49,12 @@ public class TmfXmlKernelTraceStub extends TmfXmlTraceStub implements IKernelTra
     }
 
     @Override
-    public Iterable<ITmfEventAspect> getEventAspects() {
+    public Iterable<ITmfEventAspect<?>> getEventAspects() {
         /*
          * This method needs to fill the aspects dynamically because aspects in
          * the parent class are not all present at the beginning of the trace
          */
-        ImmutableSet.Builder<ITmfEventAspect> builder = ImmutableSet.builder();
+        ImmutableSet.Builder<ITmfEventAspect<?>> builder = ImmutableSet.builder();
         builder.addAll(super.getEventAspects());
         builder.add(KernelTidAspect.INSTANCE);
         builder.add(ThreadPriorityAspect.INSTANCE);
This page took 0.026558 seconds and 5 git commands to generate.