From 57c929ba0e57e8baa3d87fc617a0361b74008a50 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 23 Jun 2017 20:47:20 +0200 Subject: [PATCH] Please cherry-pick: - renamed detachedFoo -> managedFoo - used new copyAll() methods MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../pizzaaplication/database/BasePizzaDatabaseBean.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5