[java] UseNotifyAllInsteadOfNotify: false positive
A source code analyzer
Brought to you by:
adangel,
juansotuyo
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()
This bug will be fixed with PMD 5.3.6 and later.
Commit: https://github.com/pmd/pmd/commit/f2ec1be93f0737c5f832b3566f2dbc69b397c83b