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] UnnecessaryBoxing false positive when calling `List.remove(int)` · Issue #5948 · pmd/pmd Closed Labels a:false-positivePMD flags a piece of code that is not problematic Milestone DescriptionAffects PMD Version: 7.16.0 Rule: https://pmd.github.io/pmd/pmd_rules_java_codestyle.html#unnecessaryboxing Description: The following code triggers UnnecessaryBoxing. If I remove the call to .intValue(), the wrong overload of ArrayList.remove() is called. Code Sample demonstrating the issue: List<String> l = new ArrayList<>(); Integer i = 3; l.remove(i.intValue()); Expected outcome: No violation Running PMD through: IntelliJ-Plugin 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. |