Skip to content

[java] RFC: Merge java-unnecessarycode/UnnecessaryFinalModifier and java-unnecessarycode/UnnecessaryModifier #411

@jsotuyod

Description

@jsotuyod

Both rules look for modifiers redundant for being given by the context, having one for finals and one for everything else seems pointless... The equivalent rule in Checkstyle, RedundantModifier does everything these 2 rules do.

At most we could add properties to indicate which modifiers to look for to allow users to fine tune their rulesets.

Comments?

Metadata

Metadata

Assignees

Labels

a:RFCA drafted proposal on changes to PMD, up for feedback form the team and community

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions