From: David ‘Bombe’ Roden Date: Mon, 4 Aug 2014 22:25:53 +0000 (+0200) Subject: Remove unused method. X-Git-Tag: 0.9-rc1^2~3^2~163 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=3c4e92547343582aca1fde00f981f029027a1bb4;p=Sone.git Remove unused method. --- diff --git a/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java b/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java index 7fc3a32..decd574 100644 --- a/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java +++ b/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java @@ -105,18 +105,6 @@ public class SoneDownloader extends AbstractService { } /** - * Removes the given Sone from the downloader. - * - * @param sone - * The Sone to stop watching - */ - public void removeSone(Sone sone) { - if (sones.remove(sone)) { - freenetInterface.unregisterUsk(sone); - } - } - - /** * Fetches the updated Sone. This method is a callback method for * {@link FreenetInterface#registerUsk(Sone, SoneDownloader)}. *