From 5b00492ff4f86f18d0a0f4694e588f6179855c49 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Tue, 11 Jun 2019 23:13:03 +0300 Subject: [PATCH] Fix tags parsing with JSON backend MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Patch by Mattéo Delabre --- .../net/ktnx/mobileledger/json/ParsedLedgerTransaction.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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() { -- 2.39.5