From e099b6fb74bcdb7429881bc087a5be045082f894 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 4 Sep 2015 20:09:10 +0200 Subject: [PATCH] =?utf8?q?Got=20rid=20of=20another=20empty=20class=20Signe?= =?utf8?q?d-off-by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../BasePizzaServiceSystem.java | 27 ------------------- .../application/PizzaServiceApplication.java | 5 ++-- .../customer/PizzaServiceCustomerWebBean.java | 4 --- 3 files changed, 2 insertions(+), 34 deletions(-) delete mode 100644 src/java/org/mxchange/pizzaapplication/BasePizzaServiceSystem.java diff --git a/src/java/org/mxchange/pizzaapplication/BasePizzaServiceSystem.java b/src/java/org/mxchange/pizzaapplication/BasePizzaServiceSystem.java deleted file mode 100644 index dfc3cfa9..00000000 --- a/src/java/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/java/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java b/src/java/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java index 6b578572..8228db5d 100644 --- a/src/java/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java +++ b/src/java/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java @@ -22,19 +22,18 @@ import java.sql.SQLException; import java.text.MessageFormat; import java.util.Deque; import java.util.Iterator; +import org.mxchange.jsfcore.BaseServletSystem; 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 BaseServletSystem implements PizzaApplication { /** * Default constructor */ diff --git a/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaServiceCustomerWebBean.java b/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaServiceCustomerWebBean.java index 85ec1b67..116ef539 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaServiceCustomerWebBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaServiceCustomerWebBean.java @@ -16,10 +16,6 @@ */ package org.mxchange.pizzaapplication.beans.customer; -import java.lang.reflect.Field; -import java.lang.reflect.InvocationTargetException; -import java.util.Iterator; -import java.util.Map; import javax.enterprise.context.SessionScoped; import javax.inject.Named; import org.mxchange.jcore.client.Client; -- 2.39.5