From a34ce64bbb322dbb0c45f42948b4e5cd08bebad2 Mon Sep 17 00:00:00 2001 From: Arushi Kesarwani Date: Thu, 3 Aug 2023 16:29:02 -0700 Subject: [PATCH] Fix lint warns in ReactHostInterface (#38762) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/38762 Fix lint warns in ReactHostInterface Reviewed By: cortinico Differential Revision: D48018980 fbshipit-source-id: 51fe510ce4d7f903caae2e2fc995fec872df24ea --- .../facebook/react/interfaces/ReactHostInterface.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/interfaces/ReactHostInterface.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/interfaces/ReactHostInterface.kt index df4cce1c025ed8..3a2e9b4cd5ed51 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/interfaces/ReactHostInterface.kt +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/interfaces/ReactHostInterface.kt @@ -85,8 +85,8 @@ interface ReactHostInterface { * Entrypoint to reload the ReactInstance. If the ReactInstance is destroying, will wait until * destroy is finished, before reloading. * - * @param reason [String] describing why ReactHost is being reloaded (e.g. js error, user tap on - * reload button) + * @param reason describing why ReactHost is being reloaded (e.g. js error, user tap on reload + * button) * @return A task that completes when React Native reloads */ fun reload(reason: String): TaskInterface @@ -95,9 +95,9 @@ interface ReactHostInterface { * Entrypoint to destroy the ReactInstance. If the ReactInstance is reloading, will wait until * reload is finished, before destroying. * - * @param reason [String] describing why ReactHost is being destroyed (e.g. memmory pressure) - * @param ex [Exception] exception that caused the trigger to destroy ReactHost (or null) This - * exception will be used to log properly the cause of destroy operation. + * @param reason describing why ReactHost is being destroyed (e.g. memmory pressure) + * @param ex exception that caused the trigger to destroy ReactHost (or null) This exception will + * be used to log properly the cause of destroy operation. * @return A task that completes when React Native gets destroyed. */ fun destroy(reason: String, ex: Exception?): TaskInterface