- use now ContactUtils as the old method in POJO is now gone and was no good
idea anyway. Keep your POJOs/POJIs as simple as possible, no big/"complex"
methods there. Better use separate utils classes.
Signed-off-by: Roland Häder <roland@mxchange.org>
import org.apache.commons.codec.digest.Crypt;
import org.apache.commons.codec.digest.DigestUtils;
import org.mxchange.jcontacts.contact.Contact;
+import org.mxchange.jcontacts.contact.ContactUtils;
import org.mxchange.jusercore.container.login.LoginContainer;
/**
// Is contact set?
if (sourceUser.getUserContact() instanceof Contact) {
// Copy also contact data
- targetUser.getUserContact().copyAll(sourceUser.getUserContact());
+ ContactUtils.copyAll(sourceUser.getUserContact(), targetUser.getUserContact());
}
// Copy other data