Skip to content

XdocsExamplesAstConsistencyTest does not detect difference in method parameters #19458

@romani

Description

@romani

Detected at https://github.com/checkstyle/checkstyle/pull/19453/changes#diff-b004bea1a8e7b4330157ecb1e2b23173833d444dd6eb0068800ed72e26ccb846R16

src/xdocs-examples/resources/com/puppycrawl/tools/checkstyle/checks/naming/parametername/Example1.java

Has public boolean equals(Object v3) { but other has public boolean equals(Object V3)

It should be violation.

Any difference except for trailing comments should be violation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions