Prefer Option over null
ProprietaryReplaces null literal with None. Idiomatic Scala uses Option instead of null.
org. openrewrite. scala. cleanup. PreferOptionmod run . --recipe= org. openrewrite. scala. cleanup. PreferOptionInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.