Fix warning for deprecated constructor

This commit is contained in:
Mathis Kral 2024-01-15 14:19:45 +01:00 committed by Mathis
parent 668d758ed0
commit fd76f700c9

View file

@ -42,6 +42,7 @@ public class CustomOrder extends Order {
this.formatterPattern = cart.getFormatterPattern(); this.formatterPattern = cart.getFormatterPattern();
} }
@SuppressWarnings({ "deprecation" })
public CustomOrder() { } public CustomOrder() { }
private long getDurationInSeconds(LocalDateTime start, LocalDateTime finish) { private long getDurationInSeconds(LocalDateTime start, LocalDateTime finish) {