mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Mark Inspector.java as nullsafe
Summary: This class doesn't have any FIXMEs to fix, so we can just annotate it and protect against future issues! Changelog: [Android][Fixed] Mark Inspector.java as nullsafe Reviewed By: javache Differential Revision: D72704854 fbshipit-source-id: fcd15a3cc2e9ea1ed90ecca13c068188b859afac
This commit is contained in:
1 parent
bf911e1f92
commit
8d72e5eeb9
1 file changed
+2
+2
@@ -8,6 +8,7 @@
|
||||
package com.facebook.react.bridge;
|
||||
|
||||
import com.facebook.common.logging.FLog;
|
||||
import com.facebook.infer.annotation.Nullsafe;
|
||||
import com.facebook.jni.HybridData;
|
||||
import com.facebook.proguard.annotations.DoNotStrip;
|
||||
import com.facebook.react.common.ReactConstants;
|
||||
@@ -15,6 +16,7 @@ import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
@Nullsafe(Nullsafe.Mode.LOCAL)
|
||||
@DoNotStrip
|
||||
public class Inspector {
|
||||
static {
|
||||
|
||||
Reference in new issue
Block a user