Reports calls to java.lang.Thread.sleep() that occur while
within a synchronized block or method. Sleeping
while synchronized may result in decreased performance, poor scalability, and possibly
even deadlocking. Consider using wait instead,
as it will release the lock held.
Powered by InspectionGadgets