Affects PMD Version: 6.29.0
Rule: UnusedPrivateMethod
Please provide the rule name and a link to the rule documentation:
https://pmd.github.io/latest/pmd_rules_java_bestpractices.html#unusedprivatemethod
Description: See link to code below. The method is clearly being used a few lines above it (L807/808). If I had to guess probably something with the generics is throwing it off, since PMD has ran over the rest of the codebase okay.
Code Sample demonstrating the issue:
Expected outcome:
PMD should not report sortedInsert
as unused.
Running PMD through: [CLI | Ant | Maven | Gradle | Designer | Other] maven
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4