From: Roland Haeder Date: Fri, 4 Sep 2015 19:17:22 +0000 (+0200) Subject: Can be done together X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ab283cb549e1322af71ef8def62a6728914adc52;p=pizzaservice-lib.git Can be done together Signed-off-by:Roland Häder --- diff --git a/src/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java b/src/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java index fcc390e..71cb9da 100644 --- a/src/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java +++ b/src/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java @@ -303,13 +303,10 @@ public class PizzaServiceApplication extends BaseFrameworkSystem implements Pizz } // Declare category - Category category; - - // Get Category instance from product over the frontend - category = this.categoryFrontend.getCategory(product); + Category category = this.categoryFrontend.getCategory(product); // Debug message - this.getLogger().debug(MessageFormat.format("categoryId={0}", category)); //NOI18N + this.getLogger().debug(MessageFormat.format("category={0}", category)); //NOI18N // Get decoded title String title = category.getDecodedTitle();