IntelliJ IDEA Home
This inspection reports on any call to
not made inside a loop.
is normally used to suspend a thread until a condition is true, and that condition should be checked after the
returns. A loop is the clearest way to achieve this.