Inspectopedia
 
2024.3

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

Warning
New
Last modified: 03 December 2024

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.

Example: