From: Roland Haeder Date: Fri, 4 Sep 2015 17:58:21 +0000 (+0200) Subject: Got rid of empty class X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3774a83fa278c4e3f38feaf31d31c08571f403cc;p=pizzaservice-lib.git Got rid of empty class Signed-off-by:Roland Häder --- diff --git a/src/org/mxchange/pizzaapplication/BasePizzaServiceSystem.java b/src/org/mxchange/pizzaapplication/BasePizzaServiceSystem.java deleted file mode 100644 index dfc3cfa..0000000 --- a/src/org/mxchange/pizzaapplication/BasePizzaServiceSystem.java +++ /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 . - */ -package org.mxchange.pizzaapplication; - -import org.mxchange.jsfcore.BaseServletSystem; - -/** - * A general class for whole pizza application. - * - * @author Roland Haeder - */ -public class BasePizzaServiceSystem extends BaseServletSystem { -} diff --git a/src/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java b/src/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java index 3ae2009..fcc390e 100644 --- a/src/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java +++ b/src/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java @@ -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) 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) 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) this.categoryFrontend.getAllCategoriesIterator(); + return this.categoryFrontend.getAllCategoriesIterator(); } /**