From 1a2830588131173d8fbfeb1fe03c466b4cf30e46 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 30 Nov 2016 16:49:11 +0300 Subject: juick-core: fix attachment serialization --- juick-rss/src/main/java/com/juick/rss/Main.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'juick-rss/src') diff --git a/juick-rss/src/main/java/com/juick/rss/Main.java b/juick-rss/src/main/java/com/juick/rss/Main.java index 04d87729..adb20a0d 100644 --- a/juick-rss/src/main/java/com/juick/rss/Main.java +++ b/juick-rss/src/main/java/com/juick/rss/Main.java @@ -146,11 +146,11 @@ public class Main extends HttpServlet { out.println("" + StringEscapeUtils.escapeHtml4(msg.getTags().get(n).getName()) + ""); } } - if (msg.AttachmentType != null) { - if (msg.AttachmentType.equals("jpg")) { + if (msg.getAttachmentType() != null) { + if (msg.getAttachmentType().equals("jpg")) { out.println(""); out.println(""); - } else if (msg.AttachmentType.equals("png")) { + } else if (msg.getAttachmentType().equals("png")) { out.println(""); out.println(""); } -- cgit v1.2.3