RecipesCatalogScalaRecipesSafetyCopy pageOn this pageSafety Recipes Avoid throwing in finally blocks Narrow catch clauses that catch Throwable Prefer java.util.concurrent over synchronized Remove potentially unused imports (heuristic)