diff --git a/rewrite-core/src/main/java/org/openrewrite/config/DeclarativeRecipe.java b/rewrite-core/src/main/java/org/openrewrite/config/DeclarativeRecipe.java index 44704bf02f0..d30487ceb99 100644 --- a/rewrite-core/src/main/java/org/openrewrite/config/DeclarativeRecipe.java +++ b/rewrite-core/src/main/java/org/openrewrite/config/DeclarativeRecipe.java @@ -81,7 +81,7 @@ public void addPrecondition(Recipe recipe) { @Override public Duration getEstimatedEffortPerOccurrence() { - return estimatedEffortPerOccurrence == null ? super.getEstimatedEffortPerOccurrence() : + return estimatedEffortPerOccurrence == null ? Duration.ofMinutes(0) : estimatedEffortPerOccurrence; }