debug/holder (#43746)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43746

Mark relevant classes as nullsafe prior to Kotlin conversion.

changelog: [internal] internal

Reviewed By: rshest

Differential Revision: D55591487

fbshipit-source-id: dc3ee0070c7b14aaca4c13cfdcc2422ce8c1d5a5
This commit is contained in:
Thomas Nardone
2024-04-03 16:15:45 -07:00
committed by Facebook GitHub Bot
parent 4fd95b6e02
commit 1139700424
2 changed files with 5 additions and 0 deletions
@@ -8,8 +8,10 @@
package com.facebook.debug.holder;
import com.facebook.debug.debugoverlay.model.DebugOverlayTag;
import com.facebook.infer.annotation.Nullsafe;
/** No-op implementation of {@link Printer}. */
@Nullsafe(Nullsafe.Mode.LOCAL)
public class NoopPrinter implements Printer {
public static final NoopPrinter INSTANCE = new NoopPrinter();
@@ -7,7 +7,10 @@
package com.facebook.debug.holder;
import com.facebook.infer.annotation.Nullsafe;
/** Holder for debugging tool instance. */
@Nullsafe(Nullsafe.Mode.LOCAL)
public class PrinterHolder {
private static Printer sPrinter = NoopPrinter.INSTANCE;