aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/www/rss/MessagesView.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick/www/rss/MessagesView.java')
-rw-r--r--src/main/java/com/juick/www/rss/MessagesView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/www/rss/MessagesView.java b/src/main/java/com/juick/www/rss/MessagesView.java
index dde67d7b..71d63754 100644
--- a/src/main/java/com/juick/www/rss/MessagesView.java
+++ b/src/main/java/com/juick/www/rss/MessagesView.java
@@ -84,7 +84,7 @@ public class MessagesView extends AbstractRssFeedView {
protected List<Item> buildFeedItems(Map<String, Object> model, HttpServletRequest request,
HttpServletResponse response) {
List<Message> msgs = (List<Message>) model.get("messages");
- return msgs.stream().map(this::createRssItem).collect(Collectors.toList());
+ return msgs.stream().map(this::createRssItem).toList();
}
@Override