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 occurs when unused overloaded method is defined · Issue #2348 · pmd/pmd Closed Labels a:false-positivePMD flags a piece of code that is not problematic Milestone DescriptionAffects PMD Version: 6.11.0, 6.21.0 Rule: ConstructorCallsOverridableMethod Description: Code Sample demonstrating the issue: public class Scratch { private Long member = 0L; public Scratch(final Long v) { setMember(v); } public final void setMember(final Long v) { this.member = v; } // Renaming this or marking it as final prevents the // 'ConstructorCallsOverridableMethod' rule from being broken. public void setMember(final String n) { setMember(Long.valueOf(n)); } } Running PMD through: Gradle (with version 6.11.0) and CLI (with version 6.21.0) 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. |