mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Mark classes of package uimanager/common as @Nullsafe (#42856)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/42856 All these classes are NullSafe, let's mark them as NullSafe(Local) to ensure lint detect errors in the future changelog: [internal] internal Reviewed By: cortinico Differential Revision: D53393476 fbshipit-source-id: b2278befdbfa45209acf36c8c73b276bb897ac8f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
d0d97139a3
commit
f4cd613042
+3
@@ -10,6 +10,9 @@ package com.facebook.react.uimanager.common;
|
||||
import static com.facebook.react.uimanager.common.UIManagerType.DEFAULT;
|
||||
import static com.facebook.react.uimanager.common.UIManagerType.FABRIC;
|
||||
|
||||
import com.facebook.infer.annotation.Nullsafe;
|
||||
|
||||
@Nullsafe(Nullsafe.Mode.LOCAL)
|
||||
public class ViewUtil {
|
||||
|
||||
public static final int NO_SURFACE_ID = -1;
|
||||
|
||||
Reference in New Issue
Block a user