From c52c24d25e6ca002d5af93aaf8f6287556bcbab5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 17 Oct 2017 22:34:29 +0200 Subject: [PATCH] Don't cherry-pick: - fixed imports MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../model/receipt/FinancialAdminReceiptSessionBean.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); -- 2.39.5