From: Damyan Ivanov Date: Tue, 11 Jun 2019 20:13:03 +0000 (+0300) Subject: Fix tags parsing with JSON backend X-Git-Tag: v0.10.2~2 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=5b00492ff4f86f18d0a0f4694e588f6179855c49;p=mobile-ledger.git Fix tags parsing with JSON backend Patch by Mattéo Delabre --- diff --git a/app/src/main/java/net/ktnx/mobileledger/json/ParsedLedgerTransaction.java b/app/src/main/java/net/ktnx/mobileledger/json/ParsedLedgerTransaction.java index 8743780c..4b9361e1 100644 --- a/app/src/main/java/net/ktnx/mobileledger/json/ParsedLedgerTransaction.java +++ b/app/src/main/java/net/ktnx/mobileledger/json/ParsedLedgerTransaction.java @@ -38,7 +38,7 @@ public class ParsedLedgerTransaction { private String tprecedingcomment; private int tindex; private List tpostings; - private List ttags = new ArrayList<>(); + private List> ttags = new ArrayList<>(); private ParsedSourcePos tsourcepos = new ParsedSourcePos(); public ParsedLedgerTransaction() { } @@ -54,10 +54,10 @@ public class ParsedLedgerTransaction { public void setTstatus(String tstatus) { this.tstatus = tstatus; } - public List getTtags() { + public List> getTtags() { return ttags; } - public void setTtags(List ttags) { + public void setTtags(List> ttags) { this.ttags = ttags; } public ParsedSourcePos getTsourcepos() {