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] ExcessiveParameterListRule must ignore a private constructor · Issue #2461 · pmd/pmd Closed Labels a:false-positivePMD flags a piece of code that is not problematic Milestone DescriptionAffects PMD Version: 6.23.0 Description: ExcessiveParameterListRule must ignore a private constructor! Code Sample demonstrating the issue: public class Immutable { private final int a1; ... private final int a9; // This case must be ignored by ExcessiveParameterListRule private Immutable(int a1, int a2, int a3, int a4, int a5, int a6, int a7, int a8, int a9) { this.a1 = a1; ... this.a9 = a9; } public static final class Builder { private int a1; ... private int a9; public void setA1(final int a1) { this.a1 = a1; } ... public void setA9(final int a9) { this.a9 = a9; } public Immutable build (){ return new Immutable(a1, ... ,a9); } } } Running PMD through: Maven 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. |