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:
0c81ec3
)
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>
Sun, 15 Jan 2023 18:39:01 +0000
(19:39 +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
2f58ba2
..
a9e5894
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;