From: Roland Häder Date: Sun, 18 Mar 2018 21:45:24 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cb7189b197b8b495b64eaa259e41000c5fc80308;p=juser-core.git Continued: - used new NumberUtils class for null-safe comparison Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/jusercore/model/user/UserUtils.java b/src/org/mxchange/jusercore/model/user/UserUtils.java index cd8263f..dc0e18a 100644 --- a/src/org/mxchange/jusercore/model/user/UserUtils.java +++ b/src/org/mxchange/jusercore/model/user/UserUtils.java @@ -24,7 +24,7 @@ import java.util.Date; import java.util.Properties; import java.util.Random; import org.mxchange.jcontacts.model.contact.Contact; -import org.mxchange.jcontacts.model.contact.ContactUtils; +import org.mxchange.jcontacts.model.contact.Contacts; /** * An utilities class for users @@ -103,7 +103,7 @@ public class UserUtils implements Serializable { // Is contact set? if (sourceUser.getUserContact() instanceof Contact) { // Copy also contact data - ContactUtils.copyAll(sourceUser.getUserContact(), targetUser.getUserContact()); + Contacts.copyAll(sourceUser.getUserContact(), targetUser.getUserContact()); } // Copy other data