From: Damyan Ivanov Date: Sat, 12 Jan 2019 12:39:04 +0000 (+0000) Subject: unused variable X-Git-Tag: v0.3~54 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=e0b2d33c159281741f3a6e30975d58040a8ab879;p=mobile-ledger.git unused variable --- diff --git a/app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java b/app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java index a6b88c91..4da02e82 100644 --- a/app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java +++ b/app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java @@ -111,7 +111,6 @@ public class RetrieveTransactionsTask int maxTransactionId = Progress.INDETERMINATE; success = false; ArrayList accountList = new ArrayList<>(); - ArrayList transactionList = new ArrayList<>(); HashMap accountNames = new HashMap<>(); LedgerAccount lastAccount = null; boolean onlyStarred = Data.optShowOnlyStarred.get(); @@ -309,7 +308,6 @@ public class RetrieveTransactionsTask "transaction %s saved → expecting transaction", transaction.getId())); transaction.finishLoading(); - transactionList.add(transaction); // sounds like a good idea, but transaction-1 may not be the first one chronologically // for example, when you add the initial seeding transaction after entering some others