From: David ‘Bombe’ Roden Date: Thu, 14 Oct 2010 16:06:53 +0000 (+0200) Subject: Update the edition numbers in the keys. X-Git-Tag: 0.1-RC1~363 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=c3a927532b17098ce0994f51d81ac6f8db28a1d7 Update the edition numbers in the keys. --- diff --git a/src/main/java/net/pterodactylus/sone/core/SoneInserter.java b/src/main/java/net/pterodactylus/sone/core/SoneInserter.java index 5730b55..b1c8939 100644 --- a/src/main/java/net/pterodactylus/sone/core/SoneInserter.java +++ b/src/main/java/net/pterodactylus/sone/core/SoneInserter.java @@ -106,6 +106,7 @@ public class SoneInserter extends AbstractService { boolean success = false; try { FreenetURI finalUri = freenetInterface.insertDirectory(insertInformation.getInsertUri().setKeyType("USK").setDocName("Sone-" + sone.getName()).setSuggestedEdition(0), insertInformation.generateManifestEntries(), "index.html"); + sone.updateUris(finalUri); success = true; logger.log(Level.INFO, "Inserted Sone “%s” at %s.", new Object[] { sone.getName(), finalUri }); } catch (SoneException se1) {