aboutsummaryrefslogtreecommitdiff
path: root/juick-rss/src/main
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-03-04 07:31:18 +0300
committerGravatar Vitaly Takmazov2017-03-04 07:31:18 +0300
commit1a31521dd4e1f7ef96c9d82d69b3d7aa42282eeb (patch)
tree69d935e3ca7036a8df769cbdf94f9decf65d1b62 /juick-rss/src/main
parentc2d7eadf75c27854f8ad12a6dfce82fa900b0f3e (diff)
cleanup deprecation warnings
Diffstat (limited to 'juick-rss/src/main')
-rw-r--r--juick-rss/src/main/java/com/juick/rss/MessagesView.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/juick-rss/src/main/java/com/juick/rss/MessagesView.java b/juick-rss/src/main/java/com/juick/rss/MessagesView.java
index 3b6b48a6..26432ae4 100644
--- a/juick-rss/src/main/java/com/juick/rss/MessagesView.java
+++ b/juick-rss/src/main/java/com/juick/rss/MessagesView.java
@@ -25,6 +25,7 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.net.URI;
import java.net.URISyntaxException;
+import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
@@ -63,7 +64,7 @@ public class MessagesView extends AbstractRssFeedView {
atomLink.setHref(href);
atomLink.setType("application/rss+xml");
atomLink.setRel("self");
- atomLinkModule.setLink(atomLink);
+ atomLinkModule.setLinks(Collections.singletonList(atomLink));
feed.getModules().add(atomLinkModule);
} else {