Reports calls to wait() not made inside a loop.
wait()
wait() is normally used to suspend a thread until a condition is true, and that condition should be checked after the wait() returns. A loop is the clearest way to achieve this.