JavaCoverters for Scala data types can be replaced with CollectionConverters
pihanya opened this issue · comments
JavaConverters
is partially deprecated in Scala 2.13.8:
https://github.com/scala/scala/blob/2.13.x/src/library/scala/collection/JavaConverters.scala#L78-L139
... so I suggest using methods from scala.jdk.javaapi.CollectionConverters
.
I am attaching a file (Conversions.kt.txt) that you can use to replace usage of deprecated methods with actual ones.
@pihanya mind creating a PR?
@asm0dey, ok, I will create PR this week. I have ready code that getting work done. There's just a need to transfer it here.
Creating a scala-independent version of the conversions file at #175
uses JCP for the compatibility
merged for 1.2.0