diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/defaults/DefaultReactActivityDelegate.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/defaults/DefaultReactActivityDelegate.kt index a73565f35a977f..9b22bbdb51bd57 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/defaults/DefaultReactActivityDelegate.kt +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/defaults/DefaultReactActivityDelegate.kt @@ -29,7 +29,9 @@ open class DefaultReactActivityDelegate( @Deprecated( message = - "Creating DefaultReactActivityDelegate with both fabricEnabled and concurrentReactEnabled is deprecated. Please pass only one boolean value that will be used for both flags", + "Creating DefaultReactActivityDelegate with both fabricEnabled and " + + "concurrentReactEnabled is deprecated. Please pass only one boolean value that will" + + " be used for both flags", level = DeprecationLevel.WARNING, replaceWith = ReplaceWith("DefaultReactActivityDelegate(activity, mainComponentName, fabricEnabled)")) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/module/annotations/ReactModule.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/module/annotations/ReactModule.java index 14bea35dc6e8f3..ff9fa926745db5 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/module/annotations/ReactModule.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/module/annotations/ReactModule.java @@ -16,9 +16,6 @@ /** * Annotation for use on {@link com.facebook.react.bridge.BaseJavaModule}s to describe properties * for that module. - * - * @deprecated This property is unused and it's planning to be removed in a future version of React - * Native. Please refrain from using it. */ @Retention(RUNTIME) @Target(TYPE) @@ -40,6 +37,9 @@ /** * Whether this module has constants to add, defaults to true as that is safer for when a correct * annotation is not included + * + * @deprecated This property is unused and it's planning to be removed in a future version of + * React Native. Please refrain from using it. */ @Deprecated boolean hasConstants() default true;