diff --git a/rewrite-core/src/main/java/org/openrewrite/RecipeScheduler.java b/rewrite-core/src/main/java/org/openrewrite/RecipeScheduler.java index 4b272f878fd..e802c4000d9 100644 --- a/rewrite-core/src/main/java/org/openrewrite/RecipeScheduler.java +++ b/rewrite-core/src/main/java/org/openrewrite/RecipeScheduler.java @@ -167,9 +167,7 @@ default List scheduleVisit(RecipeRunStats runStats, continue nextTest; } } - if (!before.isEmpty()) { - return before; - } + return before; } } } catch (Throwable t) {