diff --git a/src/main/java/com/redhat/devtools/intellij/telemetry/core/service/segment/SegmentBroker.java b/src/main/java/com/redhat/devtools/intellij/telemetry/core/service/segment/SegmentBroker.java index 26a7cc3..e555e54 100644 --- a/src/main/java/com/redhat/devtools/intellij/telemetry/core/service/segment/SegmentBroker.java +++ b/src/main/java/com/redhat/devtools/intellij/telemetry/core/service/segment/SegmentBroker.java @@ -55,16 +55,19 @@ public class SegmentBroker implements IMessageBroker { private enum SegmentType { IDENTIFY { + @Override public MessageBuilder toMessage(Event event, Map context, SegmentBroker broker) { return broker.toMessage(IdentifyMessage.builder(), event, context); } }, TRACK { + @Override public MessageBuilder toMessage(Event event, Map context, SegmentBroker broker) { return broker.toMessage(TrackMessage.builder(event.getName()), event, context); } }, PAGE { + @Override public MessageBuilder toMessage(Event event, Map context, SegmentBroker broker) { return broker.toMessage(PageMessage.builder(event.getName()), event, context); }