[1431] Upgrade codebase to Java 17 language features#1421
Conversation
|
Tested after rebasing onto main, and got no error so far issuing a I can see this message when building though: And wondering if we could get rid of the option from the pom file: |
|
I'd say yes, we are building the main branch with java 17 +, so it's ignored anyways no? |
pmauduit
left a comment
There was a problem hiding this comment.
Just one potentially useless "string".formatted() caught my eyes, apart from that LGTM.
I'd have expected more code rewrite patterns in the diff, but discovered some things I was not aware of already.
yes, it did not harm my compilation at least |
bf649f9 to
a53ecfa
Compare
a53ecfa to
0d7f8b7
Compare
|
Does not compile, updating to the latest main will fix it, in particular this commit: |
``` mvn -U org.openrewrite.maven:rewrite-maven-plugin:run \ -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-migrate-java:RELEASE \ -Drewrite.activeRecipes=org.openrewrite.java.migrate.UpgradeToJava17 \ -Drewrite.exportDatatables=true ```
…ded by the recipe
0d7f8b7 to
5b0b35f
Compare
|
@aaime thanks, all working after rebasing |
|
Had a look at the PR, everything looks fine to me, good to merge IMHO. |
Fixes #1431