From: Roland Häder Date: Sat, 10 Jun 2017 20:35:08 +0000 (+0200) Subject: No logger in entities, they are not serializable. Strange that the Payara EJB X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=95413e8db9214a0c459b9503883643e1d46b1978;p=jfinancials-core.git No logger in entities, they are not serializable. Strange that the Payara EJB container didn't directly complain about it, but that FinancialReceipt is no entity ... Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/jfinancials/model/receipt/entry/ReceiptEntry.java b/src/org/mxchange/jfinancials/model/receipt/entry/ReceiptEntry.java index d5db796..c0bc977 100644 --- a/src/org/mxchange/jfinancials/model/receipt/entry/ReceiptEntry.java +++ b/src/org/mxchange/jfinancials/model/receipt/entry/ReceiptEntry.java @@ -18,7 +18,6 @@ package org.mxchange.jfinancials.model.receipt.entry; import java.util.Calendar; import java.util.Objects; -import java.util.logging.Logger; import javax.persistence.Basic; import javax.persistence.CascadeType; import javax.persistence.Column; @@ -53,8 +52,6 @@ import org.mxchange.jproduct.model.product.Product; @SuppressWarnings ("PersistenceUnitPresent") public class ReceiptEntry implements BillableReceiptEntry { - private static final Logger LOG = Logger.getLogger(ReceiptEntry.class.getName()); - /** * Serial number */