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

[Hacktoberfest] Ensure the code compiled with java 11 and find places to use new API's from java 11. #332

Open
ahmetoz opened this issue Sep 24, 2021 · 0 comments

Comments

@ahmetoz
Copy link
Contributor

ahmetoz commented Sep 24, 2021

Situation
We migrated the app from java 8 to java 11, on: https://github.com/commercetools/commercetools-project-sync/releases/tag/3.12.0

Complication
As we could use java 11, we might benefit of new apis from java 11 in the project.
Also we are not sure if the project is compiling with java 11:

sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}

Resolution
Ensure the code compiled with java 11 and find places to use API's from java 11. If possible refactor code to use new APIs from java 11.

@ahmetoz ahmetoz changed the title [Hactoberfest] Ensure the code compiled with java 11 and find places to use new API's from java 11. [Hacktoberfest] Ensure the code compiled with java 11 and find places to use new API's from java 11. Sep 24, 2021
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