]> git.mxchange.org Git - pizzaservice-lib.git/commitdiff
Got rid of empty class
authorRoland Haeder <roland@mxchange.org>
Fri, 4 Sep 2015 17:58:21 +0000 (19:58 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 4 Sep 2015 17:58:21 +0000 (19:58 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/org/mxchange/pizzaapplication/BasePizzaServiceSystem.java [deleted file]
src/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java

diff --git a/src/org/mxchange/pizzaapplication/BasePizzaServiceSystem.java b/src/org/mxchange/pizzaapplication/BasePizzaServiceSystem.java
deleted file mode 100644 (file)
index dfc3cfa..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Copyright (C) 2015 Roland Haeder
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-package org.mxchange.pizzaapplication;
-
-import org.mxchange.jsfcore.BaseServletSystem;
-
-/**
- * A general class for whole pizza application.
- *
- * @author Roland Haeder
- */
-public class BasePizzaServiceSystem extends BaseServletSystem {
-}
index 3ae2009f76622a3c67b17c144ec3b9df5e0e3bb0..fcc390ef70b3abf8bf0b1f3c3b41e17cf0c90615 100644 (file)
@@ -22,19 +22,19 @@ import java.sql.SQLException;
 import java.text.MessageFormat;
 import java.util.Deque;
 import java.util.Iterator;
+import org.mxchange.jcore.BaseFrameworkSystem;
 import org.mxchange.jshop.category.Category;
 import org.mxchange.jshop.exceptions.CategoryTitleAlreadyUsedException;
 import org.mxchange.jshop.exceptions.ProductTitleAlreadyUsedException;
 import org.mxchange.jshop.item.AddableBasketItem;
 import org.mxchange.jshop.product.Product;
-import org.mxchange.pizzaapplication.BasePizzaServiceSystem;
 
 /**
  * Main application class
  *
  * @author Roland Haeder
  */
-public class PizzaServiceApplication extends BasePizzaServiceSystem implements PizzaApplication {
+public class PizzaServiceApplication extends BaseFrameworkSystem implements PizzaApplication {
        /**
         * Default constructor
         */
@@ -121,7 +121,7 @@ public class PizzaServiceApplication extends BasePizzaServiceSystem implements P
                this.getLogger().trace("CALLED!"); //NOI18N
 
                // Ask frontend for a list of products
-               return (Iterator<Product>) this.productFrontend.getAvailableProductsIterator();
+               return this.productFrontend.getAvailableProductsIterator();
        }
 
        @Override
@@ -131,7 +131,7 @@ public class PizzaServiceApplication extends BasePizzaServiceSystem implements P
                this.getLogger().trace("CALLED!"); //NOI18N
 
                // Ask frontend for a list of products
-               return (Iterator<Product>) this.productFrontend.getAllProductsIterator();
+               return this.productFrontend.getAllProductsIterator();
        }
 
        @Override
@@ -141,7 +141,7 @@ public class PizzaServiceApplication extends BasePizzaServiceSystem implements P
                this.getLogger().trace("CALLED!"); //NOI18N
 
                // Ask frontend for a list of categories
-               return (Iterator<Category>) this.categoryFrontend.getAllCategoriesIterator();
+               return this.categoryFrontend.getAllCategoriesIterator();
        }
 
        /**