Avoid Thread.sleep

Proprietary

Finds Thread.sleep calls which block the current thread. Consider using scheduled executors or akka scheduler instead.

org.openrewrite.scala.concurrency.AvoidThreadSleep
mod run . --recipe=org.openrewrite.scala.concurrency.AvoidThreadSleep

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.