]> git.mxchange.org Git - juser-core.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sat, 18 Apr 2020 13:42:08 +0000 (15:42 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 18 Apr 2020 13:42:08 +0000 (15:42 +0200)
- renamed copyAll() to copyFooData()

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

index 97ede17f9578f65bce5b99b694b1f84580f48f2c..d2b90aa3927fbe32be4274652a6cbf17d0c02c17 100644 (file)
@@ -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