From: Roland Häder Date: Tue, 17 Oct 2017 20:34:29 +0000 (+0200) Subject: Don't cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c52c24d25e6ca002d5af93aaf8f6287556bcbab5;p=jfinancials-ejb.git Don't cherry-pick: - fixed imports Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/jfinancials/model/receipt/FinancialAdminReceiptSessionBean.java b/src/java/org/mxchange/jfinancials/model/receipt/FinancialAdminReceiptSessionBean.java index 77f0ea6..ee4754c 100644 --- a/src/java/org/mxchange/jfinancials/model/receipt/FinancialAdminReceiptSessionBean.java +++ b/src/java/org/mxchange/jfinancials/model/receipt/FinancialAdminReceiptSessionBean.java @@ -20,7 +20,7 @@ import java.text.MessageFormat; import java.util.Date; import javax.ejb.EJB; import javax.ejb.Stateless; -import org.mxchange.jcontactsbusiness.model.employee.Employee; +import org.mxchange.jcontactsbusiness.model.employee.Employable; import org.mxchange.jfinancials.database.BaseFinancialsDatabaseBean; import org.mxchange.jfinancials.exceptions.receipt.ReceiptAlreadyAddedException; import org.mxchange.jusercore.model.user.User; @@ -95,9 +95,9 @@ public class FinancialAdminReceiptSessionBean extends BaseFinancialsDatabaseBean } // Is employee instance set? - if (receipt.getReceiptSellerEmployee() instanceof Employee) { + if (receipt.getReceiptSellerEmployee() instanceof Employable) { // Then get managed instanced - final Employee managedEmployee = this.createManaged(receipt.getReceiptSellerEmployee()); + final Employable managedEmployee = this.createManaged(receipt.getReceiptSellerEmployee()); // Set it back receipt.setReceiptSellerEmployee(managedEmployee);