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] LiteralsFirstInComparisons should consider constant fields · Issue #575 · pmd/pmd Closed Labels a:false-negativePMD doesn't flag a problematic piece of code Milestone DescriptionRule: PositionLiteralsFirstInComparisons (deprecated), PositionLiteralsFirstInCaseInsensitiveComparisons (deprecated) and LiteralsFirstInComparisons Description: (Position)LiteralsFirstInComparisons do not appear to be properly checking this rule completely, perhaps due to use of constants or some other factor Code Sample demonstrating the issue: private static final String ABOVE_CORE = "Above-Core"; if (abc.getOm() == 1 && abc.getCore().equals(ABOVE_CORE)) { Running PMD through: [CLI | Ant | Maven | Gradle | Designer | Other] Activity
MetadataMetadataAssigneesLabelsa:false-negativePMD doesn't flag a problematic piece of code 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. |