From 35eac1643dad0f10ef7f2c867c8062a6f6438c82 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sun, 10 Apr 2011 13:00:13 +0200 Subject: [PATCH] Clear the correct list. --- src/main/java/net/pterodactylus/sone/data/Sone.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/sone/data/Sone.java b/src/main/java/net/pterodactylus/sone/data/Sone.java index 7b7a391..1a8c7df 100644 --- a/src/main/java/net/pterodactylus/sone/data/Sone.java +++ b/src/main/java/net/pterodactylus/sone/data/Sone.java @@ -612,7 +612,7 @@ public class Sone implements Fingerprintable, Comparable { */ public synchronized void setAlbums(Collection albums) { Validation.begin().isNotNull("Albums", albums).check(); - albums.clear(); + this.albums.clear(); for (Album album : albums) { addAlbum(album); } -- 2.7.4