From: Roland Häder Date: Fri, 23 Jun 2017 18:47:20 +0000 (+0200) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=57c929ba0e57e8baa3d87fc617a0361b74008a50;p=pizzaservice-core.git Please cherry-pick: - renamed detachedFoo -> managedFoo - used new copyAll() methods Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/pizzaaplication/database/BasePizzaDatabaseBean.java b/src/org/mxchange/pizzaaplication/database/BasePizzaDatabaseBean.java index 827a272..b92a402 100644 --- a/src/org/mxchange/pizzaaplication/database/BasePizzaDatabaseBean.java +++ b/src/org/mxchange/pizzaaplication/database/BasePizzaDatabaseBean.java @@ -25,6 +25,7 @@ import javax.jms.JMSException; import javax.jms.ObjectMessage; import javax.mail.Address; import org.mxchange.jcontacts.contact.Contact; +import org.mxchange.jcontacts.contact.ContactUtils; import org.mxchange.jcoreee.database.BaseDatabaseBean; import org.mxchange.jmailee.model.delivery.wrapper.EmailDeliveryWrapper; import org.mxchange.jmailee.model.delivery.wrapper.WrapableEmailDelivery; @@ -338,7 +339,7 @@ public abstract class BasePizzaDatabaseBean extends BaseDatabaseBean { managedContact.setContactUpdated(new GregorianCalendar()); // Copy all - managedContact.copyAll(detachedContact); + ContactUtils.copyAll(detachedContact, managedContact); // Trace message this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.mergeContactData: managedContact={1} - EXIT!", this.getClass().getSimpleName(), managedContact)); //NOI18N