diff --git a/src/main/java/catering/order/CustomOrder.java b/src/main/java/catering/order/CustomOrder.java index 3c530cf..ee01974 100644 --- a/src/main/java/catering/order/CustomOrder.java +++ b/src/main/java/catering/order/CustomOrder.java @@ -42,6 +42,7 @@ public class CustomOrder extends Order { this.formatterPattern = cart.getFormatterPattern(); } + @SuppressWarnings({ "deprecation" }) public CustomOrder() { } private long getDurationInSeconds(LocalDateTime start, LocalDateTime finish) {