mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
4fd95b6e02
commit
1139700424
+2
@@ -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();
|
||||
|
||||
+3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user