Copy field names, too.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 12 Jan 2011 14:49:52 +0000 (15:49 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 12 Jan 2011 14:49:52 +0000 (15:49 +0100)
src/main/java/net/pterodactylus/sone/data/Profile.java

index 0c86732..d0a659c 100644 (file)
@@ -81,6 +81,7 @@ public class Profile implements Fingerprintable {
                this.birthDay = profile.birthDay;
                this.birthMonth = profile.birthMonth;
                this.birthYear = profile.birthYear;
+               this.fields.addAll(profile.fields);
                this.fieldValues.putAll(profile.fieldValues);
        }