Remove unused method.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 4 Aug 2014 22:25:53 +0000 (00:25 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 4 Aug 2014 22:25:53 +0000 (00:25 +0200)
src/main/java/net/pterodactylus/sone/core/SoneDownloader.java

index 7fc3a32..decd574 100644 (file)
@@ -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)}.
         *
         * Fetches the updated Sone. This method is a callback method for
         * {@link FreenetInterface#registerUsk(Sone, SoneDownloader)}.
         *