From fd76f700c9ad6a288243b89d0f3995dc312927a8 Mon Sep 17 00:00:00 2001 From: Mathis Kral Date: Mon, 15 Jan 2024 14:19:45 +0100 Subject: [PATCH] Fix warning for deprecated constructor --- src/main/java/catering/order/CustomOrder.java | 1 + 1 file changed, 1 insertion(+) 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) {