drop unused stuff related to partial transaction list parsing
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 20 Dec 2018 17:51:51 +0000 (17:51 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 20 Dec 2018 17:51:51 +0000 (17:51 +0000)
app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java

index 451b164ec206184b6b706a94c82770b721600a54..afdef7df08887fbc6e1f0d2ee41a2a71afe32edb 100644 (file)
@@ -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 {