tmf: Add generics to ITmfEventAspect
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.core.tests / stubs / org / eclipse / tracecompass / tmf / tests / stubs / trace / text / SyslogTrace.java
index 967eab7ba524c36da554560d4e95f4d5f3365027..b5df50009e44bd28ce30b56a2f8c8a21321550ec 100644 (file)
@@ -13,8 +13,6 @@
 
 package org.eclipse.tracecompass.tmf.tests.stubs.trace.text;
 
-import static org.eclipse.tracecompass.common.core.NonNullUtils.checkNotNull;
-
 import java.text.ParseException;
 import java.text.SimpleDateFormat;
 import java.util.Calendar;
@@ -66,15 +64,15 @@ public class SyslogTrace extends TextTrace<SyslogEvent> {
     }
 
     /** The event aspects */
-    public static final @NonNull Collection<ITmfEventAspect> ASPECTS =
-            checkNotNull(ImmutableList.of(
+    public static final @NonNull Collection<ITmfEventAspect<?>> ASPECTS =
+            ImmutableList.of(
                     ITmfEventAspect.BaseAspects.TIMESTAMP,
                     new TmfContentFieldAspect(Field.HOST, Field.HOST),
                     new TmfContentFieldAspect(Field.LOGGER, Field.LOGGER),
                     new TmfContentFieldAspect(Field.FILE, Field.FILE),
                     new TmfContentFieldAspect(Field.LINE, Field.LINE),
                     new TmfContentFieldAspect(Field.MESSAGE, Field.MESSAGE)
-                    ));
+                    );
 
     /**
      * Constructor
@@ -142,7 +140,7 @@ public class SyslogTrace extends TextTrace<SyslogEvent> {
     }
 
     @Override
-    public Iterable<ITmfEventAspect> getEventAspects() {
+    public Iterable<ITmfEventAspect<?>> getEventAspects() {
         return ASPECTS;
     }
 }
This page took 0.029998 seconds and 5 git commands to generate.