Menu

#1438 [java] UseNotifyAllInsteadOfNotify: false positive

PMD-5.3.6
closed
None
PMD
3-Major
Bug
5.4.0
UseNotifyAllInsteadOfNotify
2016-06-25
2015-10-29
Geniy00
No

Hi all,

UseNotifyAllInsteadOfNotify rule doesn't work properly for my case:

public static void main(String[] args) {
    boolean notify;
    notify = true;
}

Error message: Call Thread.notifyAll() rather than Thread.notify()

Discussion

  • Andreas Dangel

    Andreas Dangel - 2015-11-19
    • status: open --> closed
    • assigned_to: Andreas Dangel
    • Milestone: New Tickets --> PMD-5.3.6
     
  • Andreas Dangel

    Andreas Dangel - 2016-06-25
    • summary: UseNotifyAllInsteadOfNotify gives false positive --> [java] UseNotifyAllInsteadOfNotify: false positive
     

Log in to post a comment.