]> git.ktnx.net Git - mobile-ledger.git/commitdiff
missing not-null annotation
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Tue, 16 Apr 2019 18:19:50 +0000 (21:19 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Tue, 16 Apr 2019 18:19:50 +0000 (21:19 +0300)
app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java

index 344f33f8a8a5225cfb7953f528342221ac42b7d1..833c038a26ef095e35f8ac397609a25e6b5b2f7a 100644 (file)
@@ -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));