private BtfEventAspects() {}
- private static final Iterable<ITmfEventAspect> BTF_ASPECTS =
+ private static final Iterable<ITmfEventAspect<?>> BTF_ASPECTS =
ImmutableList.of(
ITmfEventAspect.BaseAspects.TIMESTAMP,
new BtfSourceAspect(),
/**
* The "source" aspect, whose value comes from {@link ITmfEvent#getSource()}
*/
- private static class BtfSourceAspect implements ITmfEventAspect {
+ private static class BtfSourceAspect implements ITmfEventAspect<String> {
@Override
public String getName() {
* The "target" aspect, taking its value from
* {@link ITmfEvent#getTarget()}.
*/
- private static class BtfTargetAspect implements ITmfEventAspect {
+ private static class BtfTargetAspect implements ITmfEventAspect<String> {
@Override
public String getName() {
*
* @return The aspects
*/
- public static Iterable<ITmfEventAspect> getAspects() {
+ public static Iterable<ITmfEventAspect<?>> getAspects() {
return BTF_ASPECTS;
}
}
\ No newline at end of file