From 34f4fcf069f8e76a9f5765bfab9bc2a2b1144cac Mon Sep 17 00:00:00 2001 From: Mathis Kral Date: Thu, 9 Nov 2023 22:21:52 +0100 Subject: [PATCH] Remove unnecessary print statements --- src/main/java/catering/order/CustomOrderDataInitializer.java | 1 - src/main/java/catering/order/OrderController.java | 1 - .../catering/orderCatalog/CustomCatalogEntryDataInitializer.java | 1 - 3 files changed, 3 deletions(-) diff --git a/src/main/java/catering/order/CustomOrderDataInitializer.java b/src/main/java/catering/order/CustomOrderDataInitializer.java index ec632a1..224b479 100644 --- a/src/main/java/catering/order/CustomOrderDataInitializer.java +++ b/src/main/java/catering/order/CustomOrderDataInitializer.java @@ -18,7 +18,6 @@ public class CustomOrderDataInitializer implements DataInitializer { @Override public void initialize() { - System.out.println("Initialize OrderRepository"); Map products = new HashMap<>(); products.put("Sake Maki", Quantity.of(100)); diff --git a/src/main/java/catering/order/OrderController.java b/src/main/java/catering/order/OrderController.java index ae2539e..0ec5538 100644 --- a/src/main/java/catering/order/OrderController.java +++ b/src/main/java/catering/order/OrderController.java @@ -54,7 +54,6 @@ public class OrderController { @PostMapping("/event/checkout") public String checkout(Model model) { - System.out.println(cart); CustomOrder myOrder = new CustomOrder( cart.getOrderType(), LocalDateTime.MIN, diff --git a/src/main/java/catering/orderCatalog/CustomCatalogEntryDataInitializer.java b/src/main/java/catering/orderCatalog/CustomCatalogEntryDataInitializer.java index 7586efe..10de4e4 100644 --- a/src/main/java/catering/orderCatalog/CustomCatalogEntryDataInitializer.java +++ b/src/main/java/catering/orderCatalog/CustomCatalogEntryDataInitializer.java @@ -16,7 +16,6 @@ public class CustomCatalogEntryDataInitializer implements DataInitializer { @Override public void initialize() { - System.out.println("Initialize CatalogEntryRepository"); Map products = new HashMap<>(); products.put("Brötchen", 30);