Do not import java Collections from Kotlin (#38822)

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

We should not attempt to import `java.util.Collections` in a Kotlin file
as we should use the Kotlin's equivalent class instead.

Changelog:
[Internal] [Changed] - Do not import java Collections from Kotlin

Reviewed By: cipolleschi

Differential Revision: D48117940

fbshipit-source-id: f1a972f1d3867ee4dd788c3cf34c1b931a8082d8
This commit is contained in:
Nicola Corti
2023-08-07 11:36:55 -07:00
committed by Facebook GitHub Bot
parent b7b69c589c
commit 8a4452068f
@@ -8,7 +8,6 @@
package com.facebook.react.turbomodule.core.interfaces
import com.facebook.react.bridge.NativeModule
import java.util.Collection
/**
* Interface to allow for creating and retrieving NativeModules. Why is this this class prefixed