From: Damyan Ivanov Date: Fri, 14 Jun 2019 16:29:32 +0000 (+0300) Subject: Another JSON parser fix from Mattéo Delabre, this time for the posting tags X-Git-Tag: v0.10.2~1 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=2cf13b32d43448d343fc0c85ffe6e083d3fdadaf;p=mobile-ledger.git Another JSON parser fix from Mattéo Delabre, this time for the posting tags --- 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() {