This method calls wait() on a
java.util.concurrent.locks.Condition object.
Waiting for a Condition should be done using one of the await()
methods defined by the Condition interface.
This rule is deprecated, use {rule:squid:S1844} instead.