Skip to content

org.openrewrite.java.cleanup.RenameLocalVariablesToCamelCase fails when class name is name is same as variable name #7

@blipper

Description

@blipper
class Foo {
void Bar() {
   final Fizz Fizz = new Fizz()
}
}

failes due to transformation

class Foo {
void Bar() {
   final Fizz fizz = new fizz()
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions