]> git.mxchange.org Git - pizzaservice-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>
Fri, 17 Apr 2020 16:23:42 +0000 (18:23 +0200)
- method names have been updated in business opening times

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

index 06dd2f4914f81ade6a154bc2f895044eeed17975..afbf55bae60dee58596b5156fd65edc63255a848 100644 (file)
@@ -764,13 +764,13 @@ public abstract class BasePizzaEnterpriseBean 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");
                        }
 
                        // Set created timestamp
-                       openingTime.setOpeningCreated(new Date());
+                       openingTime.setOpeningTimeEntryCreated(new Date());
                }
        }