Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the usage of JavaConversion #475

Closed
xerial opened this issue Mar 29, 2019 · 3 comments
Closed

Remove the usage of JavaConversion #475

xerial opened this issue Mar 29, 2019 · 3 comments

Comments

@xerial
Copy link
Member

xerial commented Mar 29, 2019

[airframe] [warn] /Users/leo/work/git/community-builds/target-0.9.16/project-builds/airframe-a187e75323cd4d91849048a41b571e9b90afcbf5/airframe-codec/.jvm/src/test/scala/wvlet/airframe/codec/CollectionCodecTest.scala:33:18: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
[airframe] [warn]       val v = Map("id" -> 1).asJava
[airframe] [warn]                  ^
[airframe] [warn] /Users/leo/work/git/community-builds/target-0.9.16/project-builds/airframe-a187e75323cd4d91849048a41b571e9b90afcbf5/airframe-codec/.jvm/src/test/scala/wvlet/airframe/codec/CollectionCodecTest.scala:57:53: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
[airframe] [warn]       codec.unpackMsgPack(msgpack) shouldBe Some(Map("leo" -> 1, "yui" -> 2).asJava)
[airframe] [warn]                                                     ^
[airframe] [warn] /Users/leo/work/git/community-builds/target-0.9.16/project-builds/airframe-a187e75323cd4d91849048a41b571e9b90afcbf5/airframe-codec/.jvm/src/test/scala/wvlet/airframe/codec/JDBCCodecTest.scala:186:45: method toIndexedSeq in class IterableOnceExtensionMethods is deprecated (since 2.13.0): Use .iterator.toIndexedSeq instead
[airframe] [warn]       val jsonSeq = JDBCCodec(rs).toJsonSeq.toIndexedSeq
[airframe] [warn]                                             ^
[airframe] [warn] /Users/leo/work/git/community-builds/target-0.9.16/project-builds/airframe-a187e75323cd4d91849048a41b571e9b90afcbf5/airframe-codec/.jvm/src/test/scala/wvlet/airframe/codec/PrimitiveCodecTest.scala:26:49: type GeneratorDrivenPropertyChecks in package prop is deprecated: GeneratorDrivenPropertyChecks has been moved from org.scalatest.prop to org.scalatestplus.scalacheck and renamed as ScalaCheckDrivenPropertyChecks. Please update your imports, as this deprecated type alias will be removed in a future version of ScalaTest.
[airframe] [warn] class PrimitiveCodecTest extends CodecSpec with GeneratorDrivenPropertyChecks {
[airframe] [warn]                                                 ^
[airframe] [warn] /Users/leo/work/git/community-builds/target-0.9.16/project-builds/airframe-a187e75323cd4d91849048a41b571e9b90afcbf5/airframe-codec/.jvm/src/test/scala/wvlet/airframe/codec/PrimitiveCodecTest.scala:48:34: object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
[airframe] [warn]       roundtrip(javaListCodec, v.toSeq.asJava, DataType.ANY)
[airframe] [warn]                                  ^
@xerial
Copy link
Member Author

xerial commented Jun 15, 2019

@xerial
Copy link
Member Author

xerial commented Jun 15, 2019

@xerial xerial mentioned this issue Jul 2, 2019
66 tasks
xerial added a commit that referenced this issue Aug 2, 2019
* Use Scala 2.13 compatibile collection syntaxes

* Enable existential types for Scala 2.11
@xerial
Copy link
Member Author

xerial commented Aug 3, 2019

Done in #572

@xerial xerial closed this as completed Aug 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant