]> git.mxchange.org Git - pizzaservice-lib.git/commitdiff
Can be done together
authorRoland Haeder <roland@mxchange.org>
Fri, 4 Sep 2015 19:17:22 +0000 (21:17 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 4 Sep 2015 19:17:22 +0000 (21:17 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java

index fcc390ef70b3abf8bf0b1f3c3b41e17cf0c90615..71cb9da430ed03cb93d0fa8b3257c990b7f76794 100644 (file)
@@ -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();