'wait()' called on 'java.util.concurrent.locks.Condition' object
Reports calls to
wait() made on a
java.util.concurrent.locks.Condition object. This is probably a programming error, and some variant of the
await() method was intended instead.
Good code would look like this:
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3