From: Roland Häder Date: Thu, 16 Apr 2020 20:09:49 +0000 (+0200) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d7ec97d6675e9e1c6074be27ed88c1de5e840153;p=addressbook-ejb.git Please cherry-pick: - method names have been updated in business opening times Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/addressbook/enterprise/BaseAddressbookEnterpriseBean.java b/src/java/org/mxchange/addressbook/enterprise/BaseAddressbookEnterpriseBean.java index 59233a2..5c0659c 100644 --- a/src/java/org/mxchange/addressbook/enterprise/BaseAddressbookEnterpriseBean.java +++ b/src/java/org/mxchange/addressbook/enterprise/BaseAddressbookEnterpriseBean.java @@ -473,13 +473,13 @@ public abstract class BaseAddressbookEnterpriseBean extends BaseEnterpriseBean { // Walk through whole list for (final OpeningTime openingTime : openingTimes) { // Id should not be set - if (openingTime.getOpeningId() != null) { + if (openingTime.getOpeningTimeId() != null) { // Abort here throw new IllegalStateException("openingTime.openingId is not null"); //NOI18N } // Set created timestamp - openingTime.setOpeningCreated(new Date()); + openingTime.setOpeningTimeEntryCreated(new Date()); } }