]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
MessageFormat.format()
authorRoland Haeder <roland@mxchange.org>
Mon, 31 Aug 2015 07:54:13 +0000 (09:54 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 31 Aug 2015 07:54:13 +0000 (09:54 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/java/org/mxchange/pizzaapplication/filter/servlet/basket/BasketItemAddedFilter.java

index 13209def9bcf44f1a7803cd929c1dc03a53616b6..f3f75784314a745edd0c90b1bf8175f3f9dbb2cc 100644 (file)
@@ -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) {