From 32cba82f14855a61174221c010bdcad42c336694 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 12 Jan 2011 20:41:28 +0100 Subject: [PATCH] Fix validation that would prevent an owner from ever being set. --- src/main/java/net/pterodactylus/sone/data/Album.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/sone/data/Album.java b/src/main/java/net/pterodactylus/sone/data/Album.java index ca3a97e..4f52f50 100644 --- a/src/main/java/net/pterodactylus/sone/data/Album.java +++ b/src/main/java/net/pterodactylus/sone/data/Album.java @@ -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; } -- 2.7.4