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=2d60574d7418521cc0c8b8d98ce06141429efc02;p=jjobs-core.git Please cherry-pick: - renamed detachedFoo -> managedFoo - used new copyAll() methods Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/jjobs/database/BaseJobsDatabaseBean.java b/src/org/mxchange/jjobs/database/BaseJobsDatabaseBean.java index 3f5eeff..3789adb 100644 --- a/src/org/mxchange/jjobs/database/BaseJobsDatabaseBean.java +++ b/src/org/mxchange/jjobs/database/BaseJobsDatabaseBean.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 BaseJobsDatabaseBean 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