From: Damyan Ivanov Date: Tue, 16 Apr 2019 18:00:41 +0000 (+0300) Subject: add missing annotations X-Git-Tag: v0.10.0~104 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=1d187040079f526624833070f21a4477497d5b53;p=mobile-ledger.git add missing annotations --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java b/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java index 3c008936..5fd3400a 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java @@ -41,6 +41,8 @@ import net.ktnx.mobileledger.utils.Colors; import net.ktnx.mobileledger.utils.Globals; import net.ktnx.mobileledger.utils.MLDB; +import org.jetbrains.annotations.NotNull; + import java.util.Observable; import java.util.Observer; @@ -83,7 +85,7 @@ public class TransactionListFragment extends MobileLedgerListFragment { } } @Override - public void onAttach(Context context) { + public void onAttach(@NotNull Context context) { super.onAttach(context); mActivity = (MainActivity) context; } @@ -194,7 +196,7 @@ public class TransactionListFragment extends MobileLedgerListFragment { } @Override - public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { + public void onCreateOptionsMenu(@NotNull Menu menu, @NotNull MenuInflater inflater) { inflater.inflate(R.menu.transaction_list, menu); menuTransactionListFilter = menu.findItem(R.id.menu_transaction_list_filter);