]> git.mxchange.org Git - addressbook-ejb.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Thu, 16 Apr 2020 20:09:49 +0000 (22:09 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 18 Apr 2020 13:27:06 +0000 (15:27 +0200)
- method names have been updated in business opening times

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/addressbook/enterprise/BaseAddressbookEnterpriseBean.java

index 59233a272938c6aa4213dc31a5dd88ccfd1d0c76..5c0659cb3996317bb869761c617d3f7923a9d262 100644 (file)
@@ -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());
                }
        }