Menu

#1223 UnusedPrivateMethod: Java 8 method reference causing false positives

PMD-5.1.2
closed
None
PMD
3-Major
Bug
5.1.1
2014-07-20
2014-07-08
Rob Worsnop
No

If I use a Java 8 method reference in a lambda, and that it the only way I ever call that method, the UnusedPrivateMethod rule doesn't think I call it all. So I get a violation.

Discussion

  • Andreas Dangel

    Andreas Dangel - 2014-07-09

    This will be fixed with the next release.

     
  • Andreas Dangel

    Andreas Dangel - 2014-07-09
    • summary: Java 8 method reference causing false positives --> UnusedPrivateMethod: Java 8 method reference causing false positives
    • status: open --> closed
    • assigned_to: Andreas Dangel
    • Milestone: New Tickets --> PMD-Next
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.