From: David ‘Bombe’ Roden Date: Sun, 10 Apr 2011 11:00:13 +0000 (+0200) Subject: Clear the correct list. X-Git-Tag: beta-freefall-0.6.2-1~60 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=35eac1643dad0f10ef7f2c867c8062a6f6438c82;p=Sone.git Clear the correct list. --- 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); }