From: Roland Häder Date: Sat, 19 Aug 2017 19:56:42 +0000 (+0200) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f2c332d3ad675738e0a403e972efbbff8e3f1f74;p=pizzaservice-war.git Please cherry-pick: - this method is also only called from JSF views, no place in an interface which is for CDI bean -> bean calls - this is mostly already deprecated but the interface shall remain Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/pizzaapplication/beans/business/basicdata/PizzaBusinessDataWebSessionBean.java b/src/java/org/mxchange/pizzaapplication/beans/business/basicdata/PizzaBusinessDataWebSessionBean.java index cb060dd3..1ac9e313 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/business/basicdata/PizzaBusinessDataWebSessionBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/business/basicdata/PizzaBusinessDataWebSessionBean.java @@ -120,7 +120,12 @@ public class PizzaBusinessDataWebSessionBean extends BasePizzaController impleme super(); } - @Override + + /** + * Returns a list of all business contacts + *

+ * @return A list of all business contacts + */ @SuppressWarnings ("ReturnOfCollectionOrArrayField") public List allBusinessContacts () { return this.businessContacts; diff --git a/src/java/org/mxchange/pizzaapplication/beans/business/basicdata/PizzaBusinessDataWebSessionController.java b/src/java/org/mxchange/pizzaapplication/beans/business/basicdata/PizzaBusinessDataWebSessionController.java index 8d38ab73..0f9b5b6a 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/business/basicdata/PizzaBusinessDataWebSessionController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/business/basicdata/PizzaBusinessDataWebSessionController.java @@ -17,8 +17,6 @@ package org.mxchange.pizzaapplication.beans.business.basicdata; import java.io.Serializable; -import java.util.List; -import org.mxchange.jcontactsbusiness.basicdata.BusinessBasicData; /** * An interface for session-scoped financial controller @@ -27,11 +25,4 @@ import org.mxchange.jcontactsbusiness.basicdata.BusinessBasicData; */ public interface PizzaBusinessDataWebSessionController extends Serializable { - /** - * Returns a list of all business contacts - *

- * @return A list of all business contacts - */ - List allBusinessContacts (); - }