From: Roland Häder Date: Thu, 6 Feb 2020 21:23:32 +0000 (+0100) Subject: Don't cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bb1d6fb76d5c642e640a781c12226b80e88127c1;p=pizzaservice-ejb.git Don't cherry-pick: - some fixes Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/jcontactsbusiness/model/employee/PizzaAdminEmployeeSessionBean.java b/src/java/org/mxchange/jcontactsbusiness/model/employee/PizzaAdminEmployeeSessionBean.java index 9894168..4120ee8 100644 --- a/src/java/org/mxchange/jcontactsbusiness/model/employee/PizzaAdminEmployeeSessionBean.java +++ b/src/java/org/mxchange/jcontactsbusiness/model/employee/PizzaAdminEmployeeSessionBean.java @@ -53,7 +53,7 @@ public class PizzaAdminEmployeeSessionBean extends BasePizzaEnterpriseBean imple /** * Default constructor */ - public PizzaAdminCompanyEmployeeSessionBean () { + public PizzaAdminEmployeeSessionBean () { super(); } diff --git a/src/java/org/mxchange/jcontactsbusiness/model/employee/PizzaEmployeeSessionBean.java b/src/java/org/mxchange/jcontactsbusiness/model/employee/PizzaEmployeeSessionBean.java index c4ae943..e25dcc3 100644 --- a/src/java/org/mxchange/jcontactsbusiness/model/employee/PizzaEmployeeSessionBean.java +++ b/src/java/org/mxchange/jcontactsbusiness/model/employee/PizzaEmployeeSessionBean.java @@ -28,7 +28,7 @@ import org.mxchange.pizzaaplication.enterprise.BasePizzaEnterpriseBean; * @author Roland Häder */ @Stateless (name = "employee", description = "A general statless bean for handling company employees") -public class PizzaEmployeeSessionBean extends BasePizzaEnterpriseBean implements CompanyEmployeeSessionBeanRemote { +public class PizzaEmployeeSessionBean extends BasePizzaEnterpriseBean implements EmployeeSessionBeanRemote { /** * Serial number diff --git a/src/java/org/mxchange/jusercore/model/user/activity/PizzaUserActivitySessionBean.java b/src/java/org/mxchange/jusercore/model/user/activity/PizzaUserActivitySessionBean.java index aef7b67..b006553 100644 --- a/src/java/org/mxchange/jusercore/model/user/activity/PizzaUserActivitySessionBean.java +++ b/src/java/org/mxchange/jusercore/model/user/activity/PizzaUserActivitySessionBean.java @@ -62,7 +62,7 @@ public class PizzaUserActivitySessionBean extends BasePizzaEnterpiseBean impleme // Id number should not be set throw new IllegalArgumentException(MessageFormat.format("userActivity.activityId={0} should be null", userActivity.getActivityId())); //NOI18N } else if (userActivity.getActivityUser() == null) { -` // Throw NPE again + // Throw NPE again throw new NullPointerException("userActivity.activityUser is null"); //NOI18N } else if (userActivity.getActivityContactFamilyName() == null) { // Throw it again