You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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:
https://github.com/runelite/runelite/blob/7ceb3c9e020aa8316ddc5809a2d409d5d2efb697/runelite-client/src/main/java/net/runelite/client/plugins/menuentryswapper/MenuEntrySwapperPlugin.java#L811
Expected outcome:
PMD should not report
sortedInsert
as unused.Running PMD through: [CLI | Ant | Maven | Gradle | Designer | Other] maven
The text was updated successfully, but these errors were encountered: