Inspectopedia Help

'notify()' without corresponding 'wait()'

Reports calls to Object.notify() or Object.notifyAll() for which no call to a corresponding Object.wait() can be found.

Only calls that target fields of the current class are reported by this inspection.


synchronized (synList) { synList.notify(); //synList.wait() is never called }

Inspection Details

By default bundled with:

IntelliJ IDEA 2024.1, Qodana for JVM 2024.1,

Can be installed with plugin:

Java, 241.16690

Last modified: 29 April 2024