Jump statements should not be redundant
MSALJump statements such as return and continue let you change the default flow of program execution, but jump statements that direct the control flow to the original direction are just a waste of keystrokes.
org. openrewrite. staticanalysis. NoRedundantJumpStatementsmod run . --recipe= org. openrewrite. staticanalysis. NoRedundantJumpStatementsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.