From 9b0f72a3be6a9e1c7f1e8c010712373193cf7033 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 6 Oct 2011 22:08:52 +0200 Subject: [PATCH] Require a newer fred version. This also requires an additional method for a changed interface. --- pom.xml | 2 +- src/main/java/net/pterodactylus/sone/core/FreenetInterface.java | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 35203cf..3fa8dad 100644 --- a/pom.xml +++ b/pom.xml @@ -18,7 +18,7 @@ org.freenetproject fred - 0.7.5.1336 + 0.7.5.1405 provided diff --git a/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java b/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java index 39f342c..af680a1 100644 --- a/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java +++ b/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java @@ -452,6 +452,14 @@ public class FreenetInterface { * {@inheritDoc} */ @Override + public void onGeneratedMetadata(Bucket metadata, BaseClientPutter clientPutter, ObjectContainer objectContainer) { + /* ignore, we don’t care. */ + } + + /** + * {@inheritDoc} + */ + @Override public void onGeneratedURI(FreenetURI generatedUri, BaseClientPutter clientPutter, ObjectContainer objectContainer) { resultingUri = generatedUri; } -- 2.7.4