Avoid throwing in finally blocks
ProprietaryFinds throw statements inside finally blocks. Throwing in a finally block can mask the original exception, making debugging harder.
org. openrewrite. scala. safety. AvoidThrowInFinallymod run . --recipe= org. openrewrite. scala. safety. AvoidThrowInFinallyInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.