From b848b0834c226c1af7c458feb6050442aa7f5cce Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 11 Sep 2015 11:56:40 +0200 Subject: [PATCH] =?utf8?q?Continued:=20-=20cleanup=20from=20some=20older?= =?utf8?q?=20code=20(the=20caching=20needs=20to=20be=20back)=20-=20no=20ne?= =?utf8?q?ed=20to=20compare=20against=20true=20-=20updated=20jar(s)=20Sign?= =?utf8?q?ed-off-by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- lib/jcore-ee-logger.jar | Bin 8032 -> 8032 bytes lib/jshop-core.jar | Bin 24717 -> 25508 bytes .../beans/basket/BasketWebBean.java | 12 ------------ web/index.xhtml | 2 +- 4 files changed, 1 insertion(+), 13 deletions(-) diff --git a/lib/jcore-ee-logger.jar b/lib/jcore-ee-logger.jar index 4edcfadfaec1a7ceec3691a58c99a6fa866423db..3c1fb7f8b083e1a84be405024abc1be40c559475 100644 GIT binary patch delta 212 zcmaE0_rQ)Pz?+$ci-CcIfni^71wQ&>8r!xWB7ZgC`CruzZS(ecpM1?Whf~cvC z&LHX*qZg3cti}|>2%=k^71T}~6tr!xWB7ZgC`CruzZS(ecpM1?Whf~cvC z&LHX*qZd&1W;Lc5Mj&@{3$ro{h+fHV$ONMAaDL$c(U*kG!F+Df_pCtvh-k8`>Az=aFSTacGLEN^_EAV^h|r=mO*kgF0z5k%0$7;_~_jY(>( z?lcC|HnGFhKRQVUgTc;3o#~7-eJ1_mk4~GJb|%yQYN!2WCNcfiIUt~TX3k!Fuf6wL z-(G9&waz(zPn)=}nay<$rx)-5x4SQzIr?<>#nqQ}_PdNs*pf+N!@wA$#m=yhMWMa{^Idc^JS zye$tu>aIwG>-dl0?*6b3nKKSNaDU1Jvik> zJYJIVX&=&0;AI~|IBMXG4=ETEIIkFZ)r;5gBLim*ysm=P*^^hJ`*q`-fj1~$MJ;{M zqV;R=^bU?5JK54Zs=>8Mx*E)_gM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~H66?`!@Ri-lF@cQz2VArZJeV)jl zo;TCIq?srmJyT-njT~)BT34jm6fD7% ztC~UIcbaLg4lc=Ioy~!QT?OmsEsn6o(WhAClTjA*JpuWe3LCHJ-YgM*ylL8q}h7Dx=#j}HtaIfIGkh-FF%EYB$04v z^fto(b^uzD)>Y&GR!H9NZdk~3SLOyO+cfrO8;&Vf3rnophHHd2X=}0Y~Z+v*1;1ZZVgU}s2)0`_{=}y=-SX8(fns9 zppTSLX=x38KV-?w{sRI1ewb%g(|fB;y0g+Xr}>064_C3KgkqJRtHUc~d1yGGUyr6H zeKaxb4~gfwZw!ojo{Q~n(hIye@X*%mY^q|2_@ubr1 zOa}DHx|F7v5=l!LSWuDY&{5Z*EijLZ#ZT@eqMkgTu_yW-8&c_?>?a8J!qY7%nXh8p>JEiebtj9%fjOMsn_Q~G= E1GOF7>;M1& 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 @@ - + -- 2.39.5