Skip to content

[java] Update rule MethodWithSameNameAsEnclosingClass#3651

Merged
adangel merged 2 commits into
pmd:pmd/7.0.xfrom
adangel:pmd7-update-MethodWithSameNameAsEnclosingClass
Jan 11, 2022
Merged

[java] Update rule MethodWithSameNameAsEnclosingClass#3651
adangel merged 2 commits into
pmd:pmd/7.0.xfrom
adangel:pmd7-update-MethodWithSameNameAsEnclosingClass

Conversation

@adangel

@adangel adangel commented Nov 29, 2021

Copy link
Copy Markdown
Member

Converted the rule into a simle XPath rule

Part of #2701

Converted the rule into a simle XPath rule
@adangel adangel added this to the 7.0.0 milestone Nov 29, 2021
@ghost

ghost commented Nov 29, 2021

Copy link
Copy Markdown
2 Messages
📖 Compared to pmd/7.0.x:
This changeset changes 0 violations,
introduces 17 new violations, 0 new errors and 0 new configuration errors,
removes 0 violations, 0 errors and 0 configuration errors.
Full report
📖 Compared to master:
This changeset changes 45990 violations,
introduces 25432 new violations, 5 new errors and 0 new configuration errors,
removes 182036 violations, 27 errors and 3 configuration errors.
Full report
Compared to pmd/7.0.x:
This changeset changes 0 violations,
introduces 17 new violations, 0 new errors and 0 new configuration errors,
removes 0 violations, 0 errors and 0 configuration errors.
Full report
Compared to master:
This changeset changes 45900 violations,
introduces 25668 new violations, 38 new errors and 0 new configuration errors,
removes 182064 violations, 28 errors and 3 configuration errors.
Full report

Generated by 🚫 Danger

@oowekyala oowekyala left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Comment thread pmd-java/src/main/resources/category/java/errorprone.xml Outdated
Comment thread pmd-java/src/main/resources/category/java/errorprone.xml Outdated
@oowekyala

Copy link
Copy Markdown
Member

The rule also should consider other kinds of classes like enums and records. Maybe this PR is a good place to do this

@adangel

adangel commented Jan 11, 2022

Copy link
Copy Markdown
Member Author

The rule also should consider other kinds of classes like enums and records. Maybe this PR is a good place to do this

No, this should be a different PR to keep the update to pmd7 focused. I've created #3723 for this improvement.

@adangel adangel self-assigned this Jan 11, 2022
@adangel adangel merged commit a77c723 into pmd:pmd/7.0.x Jan 11, 2022
@adangel adangel deleted the pmd7-update-MethodWithSameNameAsEnclosingClass branch January 11, 2022 16:47
@adangel adangel mentioned this pull request Jan 23, 2023
55 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants