-
Hi, The However, these recipes are not applied when running the Migrate to Java 11 recipe. I considered including these recipes in the composite recipe, but I wonder if there is a specific reason they are not included. (For example, could including them in the composite recipe make the migration less safe?) Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @yusasak1 ; thanks for reaching out. Wasn't as aware that we had two recipes for method definitions and method invocations, nor that they are not part of our Java migrations. It might have been an oversight in part, but it's also perhaps not quite safe to remove in all cases just yet, as it's merely deprecated for now, but not yet removed from any current Java version. Once that roles around we'll be sure to include it. Do note that I hope that helps! |
Beta Was this translation helpful? Give feedback.
Hi @yusasak1 ; thanks for reaching out. Wasn't as aware that we had two recipes for method definitions and method invocations, nor that they are not part of our Java migrations. It might have been an oversight in part, but it's also perhaps not quite safe to remove in all cases just yet, as it's merely deprecated for now, but not yet removed from any current Java version. Once that roles around we'll be sure to include it.
Do note that
NoFinalizer
is already part of the Common Static Analysis issues that we recommend folks run to clear out Sonar, Checkstyle and PMD style issues:https://github.com/openrewrite/rewrite-static-analysis/blob/b19a74544aab9193c1150c7bf441cff3d2fc02c4/src/main/r…