mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Actually mark DynamicFromArray.java as nullsafe
Summary: Forgot to actually apply the annotation in the previous diff. Changelog: [Internal] Reviewed By: javache Differential Revision: D72703917 fbshipit-source-id: d8f1374ebb9e11e6d67ee23541da71f8cfbd1574
This commit is contained in:
committed by
Facebook GitHub Bot
parent
33f4d49dcf
commit
25f5b4aafc
+2
@@ -9,8 +9,10 @@ package com.facebook.react.bridge;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.core.util.Pools;
|
||||
import com.facebook.infer.annotation.Nullsafe;
|
||||
|
||||
/** Implementation of Dynamic wrapping a ReadableArray. */
|
||||
@Nullsafe(Nullsafe.Mode.LOCAL)
|
||||
class DynamicFromArray implements Dynamic {
|
||||
private static final Pools.SimplePool<DynamicFromArray> sPool = new Pools.SimplePool<>(10);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user