Refactor CatalystApplication to use java8 apis (#37164)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/37164

Refactor CatalystApplication to use java8 apis

changelog: [internal] internal

Reviewed By: philIip

Differential Revision: D45378243

fbshipit-source-id: c6704bd8505c182b40f73538cddcc00cd76360d2
This commit is contained in:
David Vacca
2023-04-29 08:52:34 -07:00
committed by Facebook GitHub Bot
parent 243a148da4
commit 776ad8526c
@@ -697,8 +697,6 @@ public class ReactHost {
*
* <p>If the ReactInstance is reloading, will return the reload task. If the ReactInstance is
* destroying, will wait until destroy is finished, before creating.
*
* @return
*/
private Task<ReactInstance> getOrCreateReactInstanceTask() {
if (ReactFeatureFlags.enableBridgelessArchitectureNewCreateReloadDestroy) {