Sam Jaffe 5 лет назад
Родитель
Сommit
f1a8c716a4
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/lombok/org/leumasjaffe/recipe/model/Preparation.java

+ 1 - 1
src/main/lombok/org/leumasjaffe/recipe/model/Preparation.java

@@ -17,7 +17,7 @@ import lombok.NoArgsConstructor;
 
 @Data @AllArgsConstructor @NoArgsConstructor @EqualsAndHashCode(callSuper=false)
 public class Preparation extends Observable.Instance implements RecipeComponent {
-	Duration duration;
+	Duration duration = Duration.ZERO;
 	@JsonIgnore Supplier<Collection<Ingredient>> producer = Collections::emptyList;
 	
 	@JsonIgnore