]> git.mxchange.org Git - juser-core.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Thu, 6 Oct 2022 14:00:52 +0000 (16:00 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 6 Oct 2022 14:00:52 +0000 (16:00 +0200)
- updated package name

src/org/mxchange/jusercore/model/user/LoginUser.java
src/org/mxchange/jusercore/model/user/Users.java

index bb757345f86c941250c9147fe61a89f634d20229..cf17e5ffc424eb787223c5c7e2c52fbe26a41b38 100644 (file)
@@ -38,7 +38,7 @@ import javax.persistence.Temporal;
 import javax.persistence.TemporalType;
 import javax.persistence.Transient;
 import org.mxchange.jcontacts.model.contact.Contact;
-import org.mxchange.jcontacts.model.contact.Contacts;
+import org.mxchange.jcontacts.model.utils.ContactUtils;
 import org.mxchange.jcontacts.model.contact.UserContact;
 import org.mxchange.jcoreutils.Comparables;
 import org.mxchange.jusercore.model.user.profilemodes.ProfileMode;
@@ -230,7 +230,7 @@ public class LoginUser implements User {
                // Init comparitors
                final int comparitors[] = {
                        // First contact
-                       Contacts.compare(this.getUserContact(), user.getUserContact()),
+                       ContactUtils.compare(this.getUserContact(), user.getUserContact()),
                        // ... then user name
                        this.getUserName().compareTo(user.getUserName())
                };
index 604d5cb3f8e82aec0b337e450274b300f6873784..79bcb776af5fb61a1a40336b96ab894e007d51a9 100644 (file)
@@ -25,7 +25,7 @@ import java.util.Objects;
 import java.util.Properties;
 import java.util.Random;
 import org.mxchange.jcontacts.model.contact.Contact;
-import org.mxchange.jcontacts.model.contact.Contacts;
+import org.mxchange.jcontacts.model.utils.ContactUtils;
 
 /**
  * An utilities class for users
@@ -133,7 +133,7 @@ public class Users implements Serializable {
                // Is contact set?
                if (sourceUser.getUserContact() instanceof Contact) {
                        // Copy also contact data
-                       Contacts.copyContactData(sourceUser.getUserContact(), targetUser.getUserContact());
+                       ContactUtils.copyContactData(sourceUser.getUserContact(), targetUser.getUserContact());
                }
 
                // Copy other data