]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sat, 19 Aug 2017 19:56:42 +0000 (21:56 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 19 Aug 2017 20:30:43 +0000 (22:30 +0200)
- 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 <roland@mxchange.org>
src/java/org/mxchange/pizzaapplication/beans/business/basicdata/PizzaBusinessDataWebSessionBean.java
src/java/org/mxchange/pizzaapplication/beans/business/basicdata/PizzaBusinessDataWebSessionController.java

index cb060dd36a5626aa4eb9aed7a67d0bf03f85b14a..1ac9e313e6651f29ce027a049f7ced4cb486aa66 100644 (file)
@@ -120,7 +120,12 @@ public class PizzaBusinessDataWebSessionBean extends BasePizzaController impleme
                super();
        }
 
-       @Override
+
+       /**
+        * Returns a list of all business contacts
+        * <p>
+        * @return A list of all business contacts
+        */
        @SuppressWarnings ("ReturnOfCollectionOrArrayField")
        public List<BusinessBasicData> allBusinessContacts () {
                return this.businessContacts;
index 8d38ab731d5cd620221c0ad6d633927ddce4633d..0f9b5b6ab7b2ceac095895d36a4709a3f625af3b 100644 (file)
@@ -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
-        * <p>
-        * @return A list of all business contacts
-        */
-       List<BusinessBasicData> allBusinessContacts ();
-
 }