From: Roland Häder Date: Sat, 18 Apr 2020 13:42:08 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=dd2c793929b1a2ca75333de24078b9c8edfedc70;p=juser-core.git Continued: - renamed copyAll() to copyFooData() Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/jusercore/model/user/Users.java b/src/org/mxchange/jusercore/model/user/Users.java index 97ede17..d2b90aa 100644 --- a/src/org/mxchange/jusercore/model/user/Users.java +++ b/src/org/mxchange/jusercore/model/user/Users.java @@ -117,7 +117,7 @@ public class Users implements Serializable { * @param sourceUser Source instance * @param targetUser Target instance */ - public static void copyAll (final User sourceUser, final User targetUser) { + public static void copyUserData (final User sourceUser, final User targetUser) { // Check all parameter if (null == sourceUser) { // Throw NPE @@ -130,7 +130,7 @@ public class Users implements Serializable { // Is contact set? if (sourceUser.getUserContact() instanceof Contact) { // Copy also contact data - Contacts.copyAll(sourceUser.getUserContact(), targetUser.getUserContact()); + Contacts.copyContactData(sourceUser.getUserContact(), targetUser.getUserContact()); } // Copy other data