From: David ‘Bombe’ Roden Date: Tue, 22 Jul 2014 14:07:09 +0000 (+0200) Subject: Remove unused method. X-Git-Tag: 0.9-rc1^2~3^2~209 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=73804e7063aab740d4c426c28830d74fb7b8b4f2;p=Sone.git Remove unused method. --- diff --git a/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java b/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java index 914e9a7..a307977 100644 --- a/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java +++ b/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java @@ -128,16 +128,6 @@ public class FreenetInterface { } /** - * Creates a key pair. - * - * @return The request key at index 0, the insert key at index 1 - */ - public String[] generateKeyPair() { - FreenetURI[] keyPair = client.generateKeyPair(""); - return new String[] { keyPair[1].toString(), keyPair[0].toString() }; - } - - /** * Inserts the image data of the given {@link TemporaryImage} and returns * the given insert token that can be used to add listeners or cancel the * insert.