Use AndroidX Nullable annotation everywhere

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-03-09 19:09:34 +05:30
parent 7d48bef70a
commit 7894894610
3 changed files with 3 additions and 3 deletions

View File

@ -24,8 +24,8 @@ android {
dependencies { dependencies {
api "net.sourceforge.streamsupport:android-retrofuture:$streamsupportVersion" api "net.sourceforge.streamsupport:android-retrofuture:$streamsupportVersion"
api "net.sourceforge.streamsupport:android-retrostreams:$streamsupportVersion" api "net.sourceforge.streamsupport:android-retrostreams:$streamsupportVersion"
api "com.google.code.findbugs:jsr305:$jsr305Version"
implementation "androidx.annotation:annotation:$annotationsVersion" implementation "androidx.annotation:annotation:$annotationsVersion"
implementation "androidx.collection:collection:$collectionVersion" implementation "androidx.collection:collection:$collectionVersion"
implementation "com.google.code.findbugs:jsr305:$jsr305Version"
implementation "com.jakewharton.threetenabp:threetenabp:$threetenabpVersion" implementation "com.jakewharton.threetenabp:threetenabp:$threetenabpVersion"
} }

View File

@ -12,7 +12,7 @@ import java.net.InetAddress;
import java.net.UnknownHostException; import java.net.UnknownHostException;
import java.util.regex.Pattern; import java.util.regex.Pattern;
import javax.annotation.Nullable; import androidx.annotation.Nullable;
/** /**
* Utility methods for creating instances of {@link InetAddress}. * Utility methods for creating instances of {@link InetAddress}.

View File

@ -34,7 +34,7 @@ import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import javax.annotation.Nullable; import androidx.annotation.Nullable;
public class ModuleLoader { public class ModuleLoader {
private static final String MODULE_PUBLIC_KEY_BASE64 = "RWRmHuT9PSqtwfsLtEx+QS06BJtLgFYteL9WCNjH7yuyu5Y1DieSN7If"; private static final String MODULE_PUBLIC_KEY_BASE64 = "RWRmHuT9PSqtwfsLtEx+QS06BJtLgFYteL9WCNjH7yuyu5Y1DieSN7If";