From: David ‘Bombe’ Roden Date: Fri, 23 Sep 2011 19:03:14 +0000 (+0200) Subject: Use images in correct order to generate fingerprint. X-Git-Tag: 0.7^2~2^2~18 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=382d340559ce710f8d6903d0c844f8018f35c4af;p=Sone.git Use images in correct order to generate fingerprint. --- diff --git a/src/main/java/net/pterodactylus/sone/data/Album.java b/src/main/java/net/pterodactylus/sone/data/Album.java index cc32f88..941002e 100644 --- a/src/main/java/net/pterodactylus/sone/data/Album.java +++ b/src/main/java/net/pterodactylus/sone/data/Album.java @@ -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()); }