From 2cf13b32d43448d343fc0c85ffe6e083d3fdadaf Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Fri, 14 Jun 2019 19:29:32 +0300 Subject: [PATCH] =?utf8?q?Another=20JSON=20parser=20fix=20from=20Matt?= =?utf8?q?=C3=A9o=20Delabre,=20this=20time=20for=20the=20posting=20tags?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../main/java/net/ktnx/mobileledger/json/ParsedPosting.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/net/ktnx/mobileledger/json/ParsedPosting.java b/app/src/main/java/net/ktnx/mobileledger/json/ParsedPosting.java index 92de52d7..b09fb512 100644 --- a/app/src/main/java/net/ktnx/mobileledger/json/ParsedPosting.java +++ b/app/src/main/java/net/ktnx/mobileledger/json/ParsedPosting.java @@ -33,7 +33,7 @@ public class ParsedPosting { private String pdate = null; private String ptype = "RegularPosting"; private String pcomment = ""; - private ArrayList ptags = new ArrayList<>(); + private List> ptags = new ArrayList<>(); private String poriginal = null; public ParsedPosting() { } @@ -55,10 +55,10 @@ public class ParsedPosting { public void setPcomment(String pcomment) { this.pcomment = pcomment; } - public ArrayList getPtags() { + public List> getPtags() { return ptags; } - public void setPtags(ArrayList ptags) { + public void setPtags(List> ptags) { this.ptags = ptags; } public String getPoriginal() { -- 2.39.5