diff options
author | Vitaly Takmazov | 2023-01-22 14:14:58 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-22 14:14:58 +0300 |
commit | 9ad08dc78e0cdbe2cdebf10a96c800e72d48e48b (patch) | |
tree | 25ef5787f8a77bd24c40490edaafe7d8a4697389 /src/main/java/com/juick/service/MessagesService.java | |
parent | d17e5714c9b421fce507d310fd913ce3160a1764 (diff) |
Refactor messages service, remove 2 unneeded SQL queries
Diffstat (limited to 'src/main/java/com/juick/service/MessagesService.java')
-rw-r--r-- | src/main/java/com/juick/service/MessagesService.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/com/juick/service/MessagesService.java b/src/main/java/com/juick/service/MessagesService.java index 995e8e53..88f79c14 100644 --- a/src/main/java/com/juick/service/MessagesService.java +++ b/src/main/java/com/juick/service/MessagesService.java @@ -77,8 +77,6 @@ public interface MessagesService { Message getReplyByUri(String replyUri); - User getMessageAuthor(int mid); - List<Pair<Integer, User>> getMessagesRecommendations(Collection<Integer> mids); @Cacheable(value = "discover", key="{ #visitorUid, #before }") |