Inspectopedia
 
2024.3

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

Warning
New
Last modified: 03 December 2024

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

This inspection only reports calls with qualifiers referencing fields of the current class.

Example: