From: Damyan Ivanov Date: Thu, 20 Dec 2018 17:51:51 +0000 (+0000) Subject: drop unused stuff related to partial transaction list parsing X-Git-Tag: v0.3~203 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=8cd58ae381b9c50d07cb20217f1e3823fae3906d;p=mobile-ledger.git drop unused stuff related to partial transaction list parsing --- 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 451b164e..afdef7df 100644 --- a/app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java +++ b/app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java @@ -257,33 +257,14 @@ public class RetrieveTransactionsTask extends } public static class Params { - static final int DEFAULT_LIMIT = 100; private SharedPreferences backendPref; - private String accountsRoot; - private int limit; public Params(SharedPreferences backendPref) { this.backendPref = backendPref; - this.accountsRoot = null; - this.limit = DEFAULT_LIMIT; - } - Params(SharedPreferences backendPref, String accountsRoot) { - this(backendPref, accountsRoot, DEFAULT_LIMIT); - } - Params(SharedPreferences backendPref, String accountsRoot, int limit) { - this.backendPref = backendPref; - this.accountsRoot = accountsRoot; - this.limit = limit; - } - String getAccountsRoot() { - return accountsRoot; } SharedPreferences getBackendPref() { return backendPref; } - int getLimit() { - return limit; - } } public class Progress {