Skip to content

Commit

Permalink
DeclarativeRecipe has default 0 estimated time
Browse files Browse the repository at this point in the history
  • Loading branch information
jkschneider committed Mar 15, 2024
1 parent 5d83d3e commit 3f7b739
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 3f7b739

Please sign in to comment.