Prefer java.util.concurrent over synchronized

Proprietary

Finds synchronized blocks in Scala code. Consider using java.util.concurrent alternatives for better performance and composability.

org.openrewrite.scala.safety.PreferConcurrentUtils
mod run . --recipe=org.openrewrite.scala.safety.PreferConcurrentUtils

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