From: Roland Haeder Date: Sat, 5 Mar 2016 13:32:06 +0000 (+0100) Subject: Renamed controller method to doChangeItem() (naming convention) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=63042218e664e027ef176e7c69775c2b96b6237a;p=pizzaservice-war.git Renamed controller method to doChangeItem() (naming convention) --- diff --git a/src/java/org/mxchange/pizzaapplication/beans/basket/BasketWebSessionBean.java b/src/java/org/mxchange/pizzaapplication/beans/basket/BasketWebSessionBean.java index 63f72d96..05e8fe6b 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/basket/BasketWebSessionBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/basket/BasketWebSessionBean.java @@ -223,9 +223,9 @@ public class BasketWebSessionBean implements BasketWebSessionController { } @Override - public String changeItem (final AddableBasketItem item) { + public String doChangeItem (final AddableBasketItem item) { // Trace message - //this.getLogger().logTrace(MessageFormat.format("changeItem: item={0} - CALLED!", item)); + //this.getLogger().logTrace(MessageFormat.format("doChangeItem: item={0} - CALLED!", item)); // item shall not be null if (null == item) { @@ -247,7 +247,7 @@ public class BasketWebSessionBean implements BasketWebSessionController { } // Trace message - //this.getLogger().logTrace(MessageFormat.format("changeItem: targetPage={0} - EXIT!", targetPage)); + //this.getLogger().logTrace(MessageFormat.format("doChangeItem: targetPage={0} - EXIT!", targetPage)); // Return page return targetPage; } diff --git a/src/java/org/mxchange/pizzaapplication/beans/basket/BasketWebSessionController.java b/src/java/org/mxchange/pizzaapplication/beans/basket/BasketWebSessionController.java index f582b2a2..cae96a86 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/basket/BasketWebSessionController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/basket/BasketWebSessionController.java @@ -77,7 +77,7 @@ public interface BasketWebSessionController extends Serializable { *

* @return Page redirection */ - String changeItem (final AddableBasketItem item); + String doChangeItem (final AddableBasketItem item); /** * Clears this basket instance diff --git a/web/basket.xhtml b/web/basket.xhtml index 3d3fb58f..92e49ab8 100644 --- a/web/basket.xhtml +++ b/web/basket.xhtml @@ -39,7 +39,7 @@ #{msg.CHANGE_ITEM_AMOUNT} - +