private final MutableLiveData<String> updateError = new MutableLiveData<>();
private MobileLedgerProfile profile;
private List<LedgerAccount> allAccounts = new ArrayList<>();
- private Map<String, LedgerAccount> accountMap = new HashMap<>();
+ private final Map<String, LedgerAccount> accountMap = new HashMap<>();
private SimpleDate firstTransactionDate;
private SimpleDate lastTransactionDate;
transient private RetrieveTransactionsTask retrieveTransactionsTask;
}
static class AccountListLoader extends Thread {
- private MobileLedgerProfile profile;
- private MainModel model;
+ private final MobileLedgerProfile profile;
+ private final MainModel model;
AccountListLoader(MobileLedgerProfile profile, MainModel model) {
this.profile = profile;
this.model = model;