From 41222434eda876d294c6507ed5663796763ad38b Mon Sep 17 00:00:00 2001 From: David Vacca Date: Mon, 5 Feb 2024 16:39:48 -0800 Subject: [PATCH] [skip ci] Mark classes of packages reactperflogger as @Nullsafe (#42855) Summary: 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: D53393136 --- .../facebook/react/reactperflogger/NativeModulePerfLogger.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/reactperflogger/NativeModulePerfLogger.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/reactperflogger/NativeModulePerfLogger.java index 266eb927e81806..7c7f9c438c1332 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/reactperflogger/NativeModulePerfLogger.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/reactperflogger/NativeModulePerfLogger.java @@ -7,9 +7,11 @@ package com.facebook.react.perflogger; +import com.facebook.infer.annotation.Nullsafe; import com.facebook.jni.HybridData; import com.facebook.soloader.SoLoader; +@Nullsafe(Nullsafe.Mode.LOCAL) public abstract class NativeModulePerfLogger { private final HybridData mHybridData;