mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Mark ReactMarker.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 ReactMarker.java as nullsafe Reviewed By: javache Differential Revision: D72704853 fbshipit-source-id: 2d022f407070ab473a43281fab6f28c53fa09f21
This commit is contained in:
1 parent
005c11ea0a
commit
911c11f129
1 file changed
+2
+2
@@ -10,6 +10,7 @@ package com.facebook.react.bridge;
|
||||
import android.os.SystemClock;
|
||||
import androidx.annotation.AnyThread;
|
||||
import androidx.annotation.Nullable;
|
||||
import com.facebook.infer.annotation.Nullsafe;
|
||||
import com.facebook.proguard.annotations.DoNotStrip;
|
||||
import java.util.List;
|
||||
import java.util.Queue;
|
||||
@@ -20,6 +21,7 @@ import java.util.concurrent.CopyOnWriteArrayList;
|
||||
* Static class that allows markers to be placed in React code and responded to in a configurable
|
||||
* way
|
||||
*/
|
||||
@Nullsafe(Nullsafe.Mode.LOCAL)
|
||||
@DoNotStrip
|
||||
public class ReactMarker {
|
||||
|
||||
|
||||
Reference in new issue
Block a user