From: David ‘Bombe’ Roden Date: Tue, 22 Jan 2013 08:31:53 +0000 (+0100) Subject: Remove method to create Sone URIs. X-Git-Tag: 0.8.5^2~3^2~45^2~11 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=7d4bd03ba4bbaf451e04d2060a2e87068ef1e302;p=Sone.git Remove method to create Sone URIs. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index 5e98c47..ca4e16b 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -2304,23 +2304,6 @@ public class Core extends AbstractService implements SoneProvider, PostProvider, } /** - * Generate a Sone URI from the given URI and latest edition. - * - * @param uriString - * The URI to derive the Sone URI from - * @return The derived URI - */ - private static FreenetURI getSoneUri(String uriString) { - try { - FreenetURI uri = new FreenetURI(uriString).setDocName("Sone").setMetaString(new String[0]); - return uri; - } catch (MalformedURLException mue1) { - logger.log(Level.WARNING, String.format("Could not create Sone URI from URI: %s", uriString), mue1); - return null; - } - } - - /** * Notifies the core that a new {@link OwnIdentity} was added. * * @param ownIdentityAddedEvent