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] ConstructorCallsOverridableMethod false positive when calling super method · Issue #1718 · pmd/pmd Closed Labels a:false-positivePMD flags a piece of code that is not problematic Milestone DescriptionAffects PMD Version: 6.12.0 Code Sample demonstrating the issue: public class A { public void doA() {} } public class B extends A { public B() { super.doA(); // <-- PMD: Overridable method 'doA' called during object construction } @Override public void doA() { throw new UnsupportedOperationException(); } } Description: In B's constructor, PMD reports that an overridable method is called. However, it is a super method call. So I think it is a false positive. Reacted by Artur Bosch and mqus Activity
MetadataMetadataAssigneesLabelsa:false-positivePMD flags a piece of code that is not problematic 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. |