GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [java] Merge rules about protected in final class (AvoidProtectedFieldInFinalClass, AvoidProtectedMethodInFinalClassNotExtending) · Issue #2974 · pmd/pmd Closed Labels a:new-ruleProposal to add a new built-in rulean:enhancementAn improvement on existing features / rulesis:deprecationThe main focus is deprecating public APIs or rules, eg to make them internal, or removing them Milestone DescriptionI think we should merge AvoidProtectedFieldInFinalClass and AvoidProtectedMethodInFinalClassNotExtending. Just like for #2892, it's useless to have a distinction when the fix is the same. The names are also long and clumsy, and give too much detail about the implementation, which doesn't allow us to extend the behavior of the rules. Proposed rule name: "ProtectedMemberInFinalClass" in design.xml and not codestyle. Other improvements we can make to this new rule:
For example final class MyList extends AbstractList<String> { // a false negative of the current rule protected void idontOverrideAnything() { } } Reacted by Zbynek Konecny Activity
MetadataMetadataAssigneesLabelsa:new-ruleProposal to add a new built-in rulean:enhancementAn improvement on existing features / rulesis:deprecationThe main focus is deprecating public APIs or rules, eg to make them internal, or removing them TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |