What is the smallest, simplest way to reproduce the problem?
import lombok.val;
class A {
void foo(String bar) {
final val expected = 123456789L;
}
}
What did you expect to see?
class A {
void foo(String bar) {
final var expected = 123456789L;
}
}
What did you see instead?
import lombok.val;
class A {
void foo(String bar) {
final var expected = 123456789L;
}
}
https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lombok/LombokValToFinalVar.java doesn't clean up the removal?
What is the smallest, simplest way to reproduce the problem?
What did you expect to see?
What did you see instead?
https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lombok/LombokValToFinalVar.java doesn't clean up the removal?
Are you interested in contributing a fix to OpenRewrite?