From df0aba0a7519f2fdcd79b0da02ea9f6d23160a68 Mon Sep 17 00:00:00 2001 From: Andre Dietisheim Date: Fri, 25 Oct 2024 18:05:04 +0200 Subject: [PATCH] fix: fixed marketplace plugin verifier complaints (#97) Signed-off-by: Andre Dietisheim --- .../intellij/telemetry/core/service/segment/SegmentBroker.java | 3 +++ 1 file changed, 3 insertions(+) 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); }