Skip to content

Commit 8083cb4

Browse files
javachefacebook-github-bot
authored andcommitted
Remove LegacyArchitecture deprecation from JSONArguments (#52570)
Summary: Pull Request resolved: #52570 JSONArguments is a set of utility methods that are not part of the legacy architecture, removing the annotation. Changelog: [Internal] Reviewed By: cortinico Differential Revision: D78168536 fbshipit-source-id: 25fcc41441df6c71f9a96ec0ba82c42e8f6af80c
1 parent 77db934 commit 8083cb4

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

  • packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/JSONArguments.kt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,11 @@
77

88
package com.facebook.react.bridge
99

10-
import com.facebook.react.common.annotations.internal.LegacyArchitecture
11-
import com.facebook.react.common.annotations.internal.LegacyArchitectureLogLevel
12-
import com.facebook.react.common.annotations.internal.LegacyArchitectureLogger
1310
import org.json.JSONArray
1411
import org.json.JSONException
1512
import org.json.JSONObject
1613

17-
@LegacyArchitecture(logLevel = LegacyArchitectureLogLevel.ERROR)
1814
public object JSONArguments {
19-
20-
init {
21-
LegacyArchitectureLogger.assertLegacyArchitecture(
22-
"JSONArguments", LegacyArchitectureLogLevel.ERROR)
23-
}
24-
2515
/**
2616
* Parse JSONObject to ReadableMap
2717
*

0 commit comments

Comments
 (0)