From: Kai Moritz Date: Mon, 18 Mar 2024 07:35:20 +0000 (+0100) Subject: refactor: Fixed a warning for events concerning `@EqualsAndHashCode` X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=e9107dc6ba9a4d57c198e81de6bdaa6ceb6b0147;p=demos%2Fkafka%2Fchat refactor: Fixed a warning for events concerning `@EqualsAndHashCode` --- diff --git a/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/data/EventChatMessageReceivedTo.java b/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/data/EventChatMessageReceivedTo.java index d4f6508d..d4360f04 100644 --- a/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/data/EventChatMessageReceivedTo.java +++ b/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/data/EventChatMessageReceivedTo.java @@ -6,7 +6,7 @@ import lombok.*; @Getter @Setter -@EqualsAndHashCode +@EqualsAndHashCode(callSuper = false) @ToString public class EventChatMessageReceivedTo extends AbstractMessageTo { diff --git a/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/info/EventChatRoomCreated.java b/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/info/EventChatRoomCreated.java index ae5a5019..0a3f94bc 100644 --- a/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/info/EventChatRoomCreated.java +++ b/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/info/EventChatRoomCreated.java @@ -12,7 +12,7 @@ import java.util.UUID; @Getter @Setter -@EqualsAndHashCode +@EqualsAndHashCode(callSuper = false) @ToString public class EventChatRoomCreated extends AbstractMessageTo { diff --git a/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/info/EventShardAssigned.java b/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/info/EventShardAssigned.java index 8ba23f3c..774ab7b0 100644 --- a/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/info/EventShardAssigned.java +++ b/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/info/EventShardAssigned.java @@ -9,7 +9,7 @@ import lombok.ToString; @Getter @Setter -@EqualsAndHashCode +@EqualsAndHashCode(callSuper = false) @ToString public class EventShardAssigned extends AbstractMessageTo { diff --git a/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/info/EventShardRevoked.java b/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/info/EventShardRevoked.java index 1e37f43f..9d67db61 100644 --- a/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/info/EventShardRevoked.java +++ b/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/info/EventShardRevoked.java @@ -9,7 +9,7 @@ import lombok.ToString; @Getter @Setter -@EqualsAndHashCode +@EqualsAndHashCode(callSuper = false) @ToString public class EventShardRevoked extends AbstractMessageTo {