Use images in correct order to generate fingerprint.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 23 Sep 2011 19:03:14 +0000 (21:03 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 23 Sep 2011 19:03:14 +0000 (21:03 +0200)
src/main/java/net/pterodactylus/sone/data/Album.java

index cc32f88..941002e 100644 (file)
@@ -386,7 +386,7 @@ public class Album implements Fingerprintable {
 
                /* add images. */
                fingerprint.append("Images(");
-               for (Image image : images.values()) {
+               for (Image image : getImages()) {
                        if (image.isInserted()) {
                                fingerprint.append(image.getFingerprint());
                        }