Require a newer fred version.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 6 Oct 2011 20:08:52 +0000 (22:08 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 6 Oct 2011 20:19:23 +0000 (22:19 +0200)
This also requires an additional method for a changed interface.

pom.xml
src/main/java/net/pterodactylus/sone/core/FreenetInterface.java

diff --git a/pom.xml b/pom.xml
index 35203cf..3fa8dad 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -18,7 +18,7 @@
                <dependency>
                        <groupId>org.freenetproject</groupId>
                        <artifactId>fred</artifactId>
-                       <version>0.7.5.1336</version>
+                       <version>0.7.5.1405</version>
                        <scope>provided</scope>
                </dependency>
                <dependency>
index 39f342c..af680a1 100644 (file)
@@ -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;
                }