mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Mark JSONArguments.java as nullsafe
Summary: This class doesn't have any FIXMEs to fix, so we can just annotate it and protect against future issues! Changelog: [Android][Fixed] Mark JSONArguments.java as nullsafe Reviewed By: javache Differential Revision: D72704849 fbshipit-source-id: a545bca24d4d95930f0e334c5295584e3c03c10c
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1e4d016950
commit
12b22dc57c
+2
@@ -7,6 +7,7 @@
|
||||
|
||||
package com.facebook.react.bridge;
|
||||
|
||||
import com.facebook.infer.annotation.Nullsafe;
|
||||
import com.facebook.react.common.annotations.internal.LegacyArchitecture;
|
||||
import com.facebook.react.common.annotations.internal.LegacyArchitectureLogLevel;
|
||||
import com.facebook.react.common.annotations.internal.LegacyArchitectureLogger;
|
||||
@@ -15,6 +16,7 @@ import org.json.JSONArray;
|
||||
import org.json.JSONException;
|
||||
import org.json.JSONObject;
|
||||
|
||||
@Nullsafe(Nullsafe.Mode.LOCAL)
|
||||
@LegacyArchitecture
|
||||
public class JSONArguments {
|
||||
static {
|
||||
|
||||
Reference in New Issue
Block a user