]> git.ktnx.net Git - mobile-ledger-staging.git/blobdiff - app/src/main/java/net/ktnx/mobileledger/model/LedgerAccount.java
fix many lint errors/warnings
[mobile-ledger-staging.git] / app / src / main / java / net / ktnx / mobileledger / model / LedgerAccount.java
index 92ce6c80c8c1a7352b8d340ff4dc505da23635f3..7fb38649a1e46571515917e59fcbabf4a2811950 100644 (file)
@@ -30,12 +30,12 @@ public class LedgerAccount {
     private String name;
     private String shortName;
     private int level;
-    private LedgerAccount parent;
+    private final LedgerAccount parent;
     private boolean expanded;
     private List<LedgerAmount> amounts;
     private boolean hasSubAccounts;
     private boolean amountsExpanded;
-    private WeakReference<MobileLedgerProfile> profileWeakReference;
+    private final WeakReference<MobileLedgerProfile> profileWeakReference;
 
     public LedgerAccount(MobileLedgerProfile profile, String name, @Nullable LedgerAccount parent) {
         this.profileWeakReference = new WeakReference<>(profile);