projects
/
demos
/
kafka
/
chat
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e02706
)
fix: Removed unnecessary generic in `ChatHomeService`
author
Kai Moritz
<kai@juplo.de>
Sat, 14 Jan 2023 17:11:56 +0000
(18:11 +0100)
committer
Kai Moritz
<kai@juplo.de>
Wed, 25 Jan 2023 21:01:47 +0000
(22:01 +0100)
src/main/java/de/juplo/kafka/chat/backend/domain/ChatHomeService.java
patch
|
blob
|
history
src/main/java/de/juplo/kafka/chat/backend/persistence/inmemory/InMemoryChatHomeService.java
patch
|
blob
|
history
diff --git
a/src/main/java/de/juplo/kafka/chat/backend/domain/ChatHomeService.java
b/src/main/java/de/juplo/kafka/chat/backend/domain/ChatHomeService.java
index
d2bc508
..
7f13283
100644
(file)
--- a/
src/main/java/de/juplo/kafka/chat/backend/domain/ChatHomeService.java
+++ b/
src/main/java/de/juplo/kafka/chat/backend/domain/ChatHomeService.java
@@
-6,7
+6,7
@@
import reactor.core.publisher.Mono;
import java.util.UUID;
-public interface ChatHomeService
<T extends ChatRoomService>
+public interface ChatHomeService
{
Mono<ChatRoom> putChatRoom(ChatRoom chatRoom);
Mono<ChatRoom> getChatRoom(int shard, UUID id);
diff --git
a/src/main/java/de/juplo/kafka/chat/backend/persistence/inmemory/InMemoryChatHomeService.java
b/src/main/java/de/juplo/kafka/chat/backend/persistence/inmemory/InMemoryChatHomeService.java
index
0beb7f3
..
95a30db
100644
(file)
--- a/
src/main/java/de/juplo/kafka/chat/backend/persistence/inmemory/InMemoryChatHomeService.java
+++ b/
src/main/java/de/juplo/kafka/chat/backend/persistence/inmemory/InMemoryChatHomeService.java
@@
-11,7
+11,7
@@
import java.util.*;
@Slf4j
-public class InMemoryChatHomeService implements ChatHomeService
<InMemoryChatRoomService>
+public class InMemoryChatHomeService implements ChatHomeService
{
private final ShardingStrategy shardingStrategy;
private final Map<UUID, ChatRoom>[] chatrooms;