diff --git a/src/main/java/com/chat/yourway/service/TopicService.java b/src/main/java/com/chat/yourway/service/TopicService.java index c12ba7d..80d0e04 100644 --- a/src/main/java/com/chat/yourway/service/TopicService.java +++ b/src/main/java/com/chat/yourway/service/TopicService.java @@ -128,7 +128,7 @@ public void delete(UUID id) { contactService.save(subscriber); }); topic.setScope(TopicScope.DELETED); - topic.setTopicSubscribers(Collections.EMPTY_LIST); + topic.setTopicSubscribers(Collections.emptyList()); topicRepository.save(topic); log.trace("Deleted Topic: {}", id); }