* @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
// 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