Replace single-argument org.apache.commons.lang3.Validate#notNull with Objects#requireNonNull
MSALReplace org.apache.commons.lang3.Validate.notNull(Object) with Objects.requireNonNull(Object).
org. openrewrite. staticanalysis. ReplaceValidateNotNullHavingSingleArgWithObjectsRequireNonNullmod run . --recipe= org. openrewrite. staticanalysis. ReplaceValidateNotNullHavingSingleArgWithObjectsRequireNonNullInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.