From: Roland Haeder Date: Mon, 31 Aug 2015 07:54:13 +0000 (+0200) Subject: MessageFormat.format() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b8f6b05a11c057bdc74b5d42d00752630b950218;p=pizzaservice-war.git MessageFormat.format() Signed-off-by:Roland Häder --- diff --git a/src/java/org/mxchange/pizzaapplication/filter/servlet/basket/BasketItemAddedFilter.java b/src/java/org/mxchange/pizzaapplication/filter/servlet/basket/BasketItemAddedFilter.java index 13209def..f3f75784 100644 --- a/src/java/org/mxchange/pizzaapplication/filter/servlet/basket/BasketItemAddedFilter.java +++ b/src/java/org/mxchange/pizzaapplication/filter/servlet/basket/BasketItemAddedFilter.java @@ -102,13 +102,13 @@ public class BasketItemAddedFilter extends BaseServletFilter implements Filter { PizzaBean bean = (PizzaBean) session.getAttribute("controller"); //NOI18N // Debug message - this.getLogger().debug("bean=" + bean); + this.getLogger().debug(MessageFormat.format("bean={0}", bean)); //NOI18N // Get basket instance basket = bean.getBasket(); // Debug message - this.getLogger().debug("basket=" + basket); + this.getLogger().debug(MessageFormat.format("basket={0}", basket)); //NOI18N // Is the item already added? if (item.getItemId() == null) {