From: Roland Haeder Date: Thu, 10 Sep 2015 20:13:57 +0000 (+0200) Subject: updated jars X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3c792e16a25261f552f0f8f4b5ebb9c02d8d55eb;p=pizzaservice-swing.git updated jars Signed-off-by:Roland Häder --- diff --git a/lib/jcore.jar b/lib/jcore.jar index de27ca6..00e90e1 100644 Binary files a/lib/jcore.jar and b/lib/jcore.jar differ diff --git a/lib/jcoreee.jar b/lib/jcoreee.jar index 935a2c9..3186bb6 100644 Binary files a/lib/jcoreee.jar and b/lib/jcoreee.jar differ diff --git a/lib/jshop-core.jar b/lib/jshop-core.jar index 4b07e19..1b9d6e3 100644 Binary files a/lib/jshop-core.jar and b/lib/jshop-core.jar differ diff --git a/lib/jshop-ee-lib.jar b/lib/jshop-ee-lib.jar index f077244..268d352 100644 Binary files a/lib/jshop-ee-lib.jar and b/lib/jshop-ee-lib.jar differ diff --git a/lib/jswingcore.jar b/lib/jswingcore.jar index b8ad4a3..f2375ce 100644 Binary files a/lib/jswingcore.jar and b/lib/jswingcore.jar differ diff --git a/src/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java b/src/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java index fc4bf91..1510bf4 100644 --- a/src/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java +++ b/src/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java @@ -193,11 +193,11 @@ public class PizzaServiceApplication extends BaseFrameworkSystem implements Pizz // Get title, price and category id String title = product.getTitle(); Float price = product.getPrice(); - Long categoryId = product.getCategoryId(); + Long id = product.getId(); Boolean available = product.getAvailable(); // Debug message - this.getLogger().debug(MessageFormat.format("title={0},price={1},categoryId={2},available={3}", title, price, categoryId, available)); //NOI18N + this.getLogger().debug(MessageFormat.format("title={0},price={1},id={2},available={3}", title, price, id, available)); //NOI18N // Check all fields if (null == title) { @@ -209,10 +209,10 @@ public class PizzaServiceApplication extends BaseFrameworkSystem implements Pizz } else if (null == price) { // "price" not set throw new IllegalArgumentException("product price is not set."); //NOI18N - } else if (null == categoryId) { + } else if (null == id) { // "title" not set throw new IllegalArgumentException("product category id is not set."); //NOI18N - } else if (categoryId == 0) { + } else if (id == 0) { // "title" not set throw new IllegalArgumentException("product category id is zero."); //NOI18N } else if (null == available) {