]> git.ktnx.net Git - mobile-ledger-staging.git/blobdiff - app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListAdapter.java
fix many lint errors/warnings
[mobile-ledger-staging.git] / app / src / main / java / net / ktnx / mobileledger / ui / transaction_list / TransactionListAdapter.java
index 6f13930ad286bc63593f0bf3c7aaac88736fc3c1..492c6151266a31540543c1f7cdf368234bc33afb 100644 (file)
@@ -56,8 +56,8 @@ import java.util.Locale;
 import java.util.TimeZone;
 
 public class TransactionListAdapter extends RecyclerView.Adapter<TransactionRowHolder> {
-    private MainModel model;
-    private AsyncListDiffer<TransactionListItem> listDiffer;
+    private final MainModel model;
+    private final AsyncListDiffer<TransactionListItem> listDiffer;
     public TransactionListAdapter(MainModel model) {
         super();
         this.model = model;
@@ -297,10 +297,10 @@ public class TransactionListAdapter extends RecyclerView.Adapter<TransactionRowH
     }
 
     private static class TransactionLoaderParams {
-        LedgerTransaction transaction;
-        TransactionRowHolder holder;
-        int position;
-        String boldAccountName;
+        final LedgerTransaction transaction;
+        final TransactionRowHolder holder;
+        final int position;
+        final String boldAccountName;
         TransactionLoaderParams(LedgerTransaction transaction, TransactionRowHolder holder,
                                 int position, String boldAccountName) {
             this.transaction = transaction;