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=9993f1d8d436937d12e393788550fea72f48da61;p=jfinancials-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/jfinancials/beans/business/basicdata/FinancialsBusinessDataWebSessionBean.java b/src/java/org/mxchange/jfinancials/beans/business/basicdata/FinancialsBusinessDataWebSessionBean.java index d26b46c8..9f3b16e8 100644 --- a/src/java/org/mxchange/jfinancials/beans/business/basicdata/FinancialsBusinessDataWebSessionBean.java +++ b/src/java/org/mxchange/jfinancials/beans/business/basicdata/FinancialsBusinessDataWebSessionBean.java @@ -25,12 +25,12 @@ import javax.inject.Named; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; +import org.mxchange.jcontactsbusiness.basicdata.AdminBusinessDataSessionBeanRemote; import org.mxchange.jcontactsbusiness.basicdata.BusinessBasicData; import org.mxchange.jcontactsbusiness.basicdata.BusinessDataSessionBeanRemote; import org.mxchange.jcountry.data.Country; import org.mxchange.jfinancials.beans.BaseFinancialsController; import org.mxchange.jfinancials.beans.user.login.FinancialsUserLoginWebSessionController; -import org.mxchange.jcontactsbusiness.basicdata.AdminBusinessDataSessionBeanRemote; /** * A business contact bean (controller) @@ -120,7 +120,12 @@ public class FinancialsBusinessDataWebSessionBean extends BaseFinancialsControll 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/jfinancials/beans/business/basicdata/FinancialsBusinessDataWebSessionController.java b/src/java/org/mxchange/jfinancials/beans/business/basicdata/FinancialsBusinessDataWebSessionController.java index d3ed5b3f..60b1397b 100644 --- a/src/java/org/mxchange/jfinancials/beans/business/basicdata/FinancialsBusinessDataWebSessionController.java +++ b/src/java/org/mxchange/jfinancials/beans/business/basicdata/FinancialsBusinessDataWebSessionController.java @@ -17,8 +17,6 @@ package org.mxchange.jfinancials.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 FinancialsBusinessDataWebSessionController extends Serializable { - /** - * Returns a list of all business contacts - *

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