]> git.ktnx.net Git - mobile-ledger.git/commitdiff
unused variable
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 12 Jan 2019 12:39:04 +0000 (12:39 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 12 Jan 2019 12:39:04 +0000 (12:39 +0000)
app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java

index a6b88c9146f3641b4f13c2da330daf4b9d7f7e3f..4da02e823111a070efa473edcbdf8c82ab8521b3 100644 (file)
@@ -111,7 +111,6 @@ public class RetrieveTransactionsTask
         int maxTransactionId = Progress.INDETERMINATE;
         success = false;
         ArrayList<LedgerAccount> accountList = new ArrayList<>();
-        ArrayList<LedgerTransaction> transactionList = new ArrayList<>();
         HashMap<String, Void> 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