-
Notifications
You must be signed in to change notification settings - Fork 18
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
switch to scala 2.13 and remove deprecation warning for JavaConverters #59
Comments
Thanks for the suggestion. Will have to look at this more closely when time permits, but couple of quick reactions:
Comments welcome. |
Thanks for the fast reply.
Looking forward to read your comments on this. |
…precation warning for JavaConverters"
You're right, I was forgetting about the generated Scala code itself! Yes, please go ahead with a PR for what you propose. And I just pushed some changes that are relevant in general. Please have a look at your convenience. Thanks again. EDIT: note that I started using https://github.com/scala/scala-collection-compat as part of trying to still cross build to 2.12 as well, at least for the time being. |
OK, I'm done with my preparation changes. Now the only reference to |
Thank you very much for your preparation changes. I changed the code accordingly, added two (very simple) tests and adapted the readme as well. Pls let me know if I missed something else that needs to be done. |
scala: option to generate code for scala 2.12 or scala 2.13
Thanks again! I just did some minor adjustments and published the new v0.9.96 (as usual, released the executable here in github, and the artifact to maven central). |
We are using tscfg with scala 2.13.x and we get lot's of deprecation warnings:
object JavaConverters in package collection is deprecated (since 2.13.0): Use `scala.jdk.CollectionConverters` instead
I prepared a small adaptions to use the (in 2.13 newly introduced)
scala.jdk.CollectionConverters
to get rid of this warnings. But this would be a breaking change as it would require 2.13. Is there any interest in updating to 2.13 or is the intended way to stay with 2.12 and ignore the warnings for now?I know this is just a small benefit that comes with a breaking change, but I thought I would ask it anyway as it has become a little bit annoying in our projects to have these deprecation messages everywhere.
The text was updated successfully, but these errors were encountered: