From ecf124ad38636e859b568f2392a13c7aeb7a0e65 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sat, 25 Apr 2020 23:04:56 +0300 Subject: [PATCH] drop unneeded object-level field used only in the constructor where the local variable is enough --- .../ktnx/mobileledger/ui/activity/NewTransactionItemHolder.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionItemHolder.java b/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionItemHolder.java index 70819ebe..f1dc196a 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionItemHolder.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionItemHolder.java @@ -95,11 +95,9 @@ class NewTransactionItemHolder extends RecyclerView.ViewHolder private boolean inUpdate = false; private boolean syncingData = false; private View commentButton; - private NewTransactionItemsAdapter adapter; //TODO multiple amounts with different currencies per posting NewTransactionItemHolder(@NonNull View itemView, NewTransactionItemsAdapter adapter) { super(itemView); - this.adapter = adapter; tvAccount = itemView.findViewById(R.id.account_row_acc_name); tvComment = itemView.findViewById(R.id.comment); new TextViewClearHelper().attachToTextView((EditText) tvComment); -- 2.39.5