From: Roland Haeder Date: Fri, 11 Sep 2015 09:56:40 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b848b0834c226c1af7c458feb6050442aa7f5cce;p=pizzaservice-war.git Continued: - cleanup from some older code (the caching needs to be back) - no need to compare against true - updated jar(s) Signed-off-by:Roland Häder --- diff --git a/lib/jcore-ee-logger.jar b/lib/jcore-ee-logger.jar index 4edcfadf..3c1fb7f8 100644 Binary files a/lib/jcore-ee-logger.jar and b/lib/jcore-ee-logger.jar differ diff --git a/lib/jshop-core.jar b/lib/jshop-core.jar index 293c5772..d3ea1ca0 100644 Binary files a/lib/jshop-core.jar and b/lib/jshop-core.jar differ diff --git a/src/java/org/mxchange/pizzaapplication/beans/basket/BasketWebBean.java b/src/java/org/mxchange/pizzaapplication/beans/basket/BasketWebBean.java index 58697239..c0cb2ed5 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/basket/BasketWebBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/basket/BasketWebBean.java @@ -89,18 +89,6 @@ public class BasketWebBean extends BaseFrameworkBean implements BasketWebControl throw new NullPointerException("product is null"); //NOI18N } - // Has the "cache" some entries? - if (!this.getBasketBean().isEmpty()) { - // Generate fake instance - AddableBasketItem item = new BasketItem(product); - - // Then ask it about it - if (this.getBasketBean().isAdded(item)) { - // Found it - return true; - } - } - // Generate fake instance AddableBasketItem item = new BasketItem(product); diff --git a/web/index.xhtml b/web/index.xhtml index 3e50f8c6..e612d608 100644 --- a/web/index.xhtml +++ b/web/index.xhtml @@ -64,7 +64,7 @@ - +