]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Cleanups
authorRoland Haeder <roland@mxchange.org>
Fri, 4 Sep 2015 20:49:28 +0000 (22:49 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 4 Sep 2015 20:49:28 +0000 (22:49 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

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

index 1161421a8c900c68458636e91b722e7b6674e28a..5eda780d1f8a019dba338ab854f2f4e48fab4bb8 100644 (file)
@@ -22,6 +22,7 @@ import java.sql.SQLException;
 import java.text.MessageFormat;
 import java.util.Deque;
 import java.util.Iterator;
+import org.mxchange.jcore.BaseFrameworkSystem;
 import org.mxchange.jsfcore.BaseServletSystem;
 import org.mxchange.jshop.category.Category;
 import org.mxchange.jshop.exceptions.CategoryTitleAlreadyUsedException;
@@ -120,7 +121,7 @@ public class PizzaServiceApplication extends BaseServletSystem implements PizzaA
                this.getLogger().trace("CALLED!"); //NOI18N
 
                // Ask frontend for a list of products
-               return (Iterator<Product>) this.productFrontend.getAvailableProductsIterator();
+               return this.productFrontend.getAvailableProductsIterator();
        }
 
        @Override
@@ -130,7 +131,7 @@ public class PizzaServiceApplication extends BaseServletSystem implements PizzaA
                this.getLogger().trace("CALLED!"); //NOI18N
 
                // Ask frontend for a list of products
-               return (Iterator<Product>) this.productFrontend.getAllProductsIterator();
+               return this.productFrontend.getAllProductsIterator();
        }
 
        @Override
@@ -140,7 +141,7 @@ public class PizzaServiceApplication extends BaseServletSystem implements PizzaA
                this.getLogger().trace("CALLED!"); //NOI18N
 
                // Ask frontend for a list of categories
-               return (Iterator<Category>) this.categoryFrontend.getAllCategoriesIterator();
+               return this.categoryFrontend.getAllCategoriesIterator();
        }
 
        /**