Fix validation that would prevent an owner from ever being set.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 12 Jan 2011 19:41:28 +0000 (20:41 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 12 Jan 2011 19:41:28 +0000 (20:41 +0100)
src/main/java/net/pterodactylus/sone/data/Album.java

index ca3a97e..4f52f50 100644 (file)
@@ -100,7 +100,7 @@ public class Album implements Fingerprintable {
         * @return This album
         */
        public Album setSone(Sone sone) {
-               Validation.begin().isNull("Current Album Owner", this.sone).isNotNull("New Album Owner", sone).check().isEqual("New Album Owner", sone, this.sone).check();
+               Validation.begin().isNull("Current Album Owner", this.sone).isNotNull("New Album Owner", sone).check();
                this.sone = sone;
                return this;
        }