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;
// 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())
};
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
// 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