From: Roland Haeder Date: Sun, 10 Apr 2016 12:44:41 +0000 (+0200) Subject: More trace messages added X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9e16309167867b205f01e389324f68ac831cd822;p=pizzaservice-war.git More trace messages added --- diff --git a/src/java/org/mxchange/pizzaapplication/converter/category/PizzaCategoryConverter.java b/src/java/org/mxchange/pizzaapplication/converter/category/PizzaCategoryConverter.java index 1e9ba561..ae0c8bee 100644 --- a/src/java/org/mxchange/pizzaapplication/converter/category/PizzaCategoryConverter.java +++ b/src/java/org/mxchange/pizzaapplication/converter/category/PizzaCategoryConverter.java @@ -127,6 +127,9 @@ public class PizzaCategoryConverter implements Converter { @Override public String getAsString (final FacesContext context, final UIComponent component, final Object value) { + // Trace message + this.loggerBeanLocal.logTrace(MessageFormat.format("getAsString: context={0},component={1},value={2} - CALLED!", context, component, value)); //NOI18N + // Is the object null? if (null == value) { // Is null @@ -137,7 +140,13 @@ public class PizzaCategoryConverter implements Converter { } // Return category id - return String.valueOf(((Category) value).getCategoryId()); + String str = String.valueOf(((Category) value).getCategoryId()); + + // Trace message + this.loggerBeanLocal.logTrace(MessageFormat.format("getAsString: str={0} - EXIT!", str)); //NOI18N + + // Return it + return str; } }