All branches in a conditional should not have the same implementation
MSALWhen every branch of an if/else chain executes the same code, the condition serves no purpose and the code block can be used directly.
org. openrewrite. staticanalysis. AllBranchesIdenticalmod run . --recipe= org. openrewrite. staticanalysis. AllBranchesIdenticalInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.