From: David ‘Bombe’ Roden Date: Thu, 18 Nov 2010 19:57:36 +0000 (+0100) Subject: Set edition on parsed Sone. X-Git-Tag: 0.3~1 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=3da74875fa5e891447eacf2e2df9c4208cc3f6bb;p=Sone.git Set edition on parsed Sone. --- diff --git a/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java b/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java index db1cdbc..0cedc15 100644 --- a/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java +++ b/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java @@ -169,6 +169,7 @@ public class SoneDownloader extends AbstractService { soneInputStream = soneBucket.getInputStream(); Sone parsedSone = parseSone(originalSone, soneInputStream); if (parsedSone != null) { + parsedSone.setLatestEdition(requestUri.getEdition()); if (requestUri.getKeyType().equals("USK")) { parsedSone.setRequestUri(requestUri.setMetaString(new String[0])); } else {