]> git.mxchange.org Git - juser-core.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sun, 18 Mar 2018 21:45:24 +0000 (22:45 +0100)
committerRoland Häder <roland@mxchange.org>
Sun, 18 Mar 2018 21:45:56 +0000 (22:45 +0100)
- used new NumberUtils class for null-safe comparison

Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/jusercore/model/user/UserUtils.java

index cd8263f1d7c4b6422ba4a211c4399b2caec9a67f..dc0e18a928df2912fa68f4ad112fabc965fde0c0 100644 (file)
@@ -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