Menu

#1332 False Positive: UnusedPrivateMethod

PMD-5.3.1
closed
None
PMD
3-Major
Bug
5.3.0
2015-04-18
2015-04-07
No

building with gradle, the attached class generates

:foo:pmdTest
FooTest.java:20: Avoid unused private methods such as 'createFoo(String)'.
FooTest.java:24: Avoid unused private methods such as 'createBar(String,String)'.
:foo:pmdTest FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':foo:pmdTest'.

    2 PMD rule violations were found. See the report at: file:///build/reports/pmd/test.html

1 Attachments

Discussion

  • Andreas Dangel

    Andreas Dangel - 2015-04-18
    • status: open --> closed
    • assigned_to: Andreas Dangel
    • Milestone: New Tickets --> PMD-5.3.1
     

Log in to post a comment.

MongoDB Logo MongoDB