Fall through
MSALChecks for fall-through in switch statements, adding break statements in locations where a case contains Java code but does not have a break, return, throw, or continue statement. Unintentional fall-through is a common source of bugs, as execution silently continues into the next case branch.
org. openrewrite. staticanalysis. FallThroughmod run . --recipe= org. openrewrite. staticanalysis. FallThroughInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.