From: Damyan Ivanov Date: Tue, 16 Apr 2019 18:19:50 +0000 (+0300) Subject: missing not-null annotation X-Git-Tag: v0.10.0~98 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=a1e1420ed00d5ceee82a77d2f7df774fbd933284;p=mobile-ledger.git missing not-null annotation --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java b/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java index 344f33f8..833c038a 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java @@ -58,6 +58,8 @@ import net.ktnx.mobileledger.utils.Colors; import net.ktnx.mobileledger.utils.LockHolder; import net.ktnx.mobileledger.utils.MLDB; +import org.jetbrains.annotations.NotNull; + import java.lang.ref.WeakReference; import java.text.DateFormat; import java.util.ArrayList; @@ -797,6 +799,7 @@ public class MainActivity extends ProfileThemedActivity { super(fm); } + @NotNull @Override public Fragment getItem(int position) { Log.d("main", String.format("Switching to fragment %d", position));