Convert “new post reply found” into EventBus-based event.
[Sone.git] / src / main / java / net / pterodactylus / sone / core / CoreListenerManager.java
index 52953f5..289be50 100644 (file)
@@ -46,32 +46,6 @@ public class CoreListenerManager extends AbstractListenerManager<Core, CoreListe
        //
 
        /**
-        * Notifies all listeners that a new post has been found.
-        *
-        * @see CoreListener#newPostFound(Post)
-        * @param post
-        *            The new post
-        */
-       void fireNewPostFound(Post post) {
-               for (CoreListener coreListener : getListeners()) {
-                       coreListener.newPostFound(post);
-               }
-       }
-
-       /**
-        * Notifies all listeners that a new reply has been found.
-        *
-        * @see CoreListener#newReplyFound(PostReply)
-        * @param reply
-        *            The new reply
-        */
-       void fireNewReplyFound(PostReply reply) {
-               for (CoreListener coreListener : getListeners()) {
-                       coreListener.newReplyFound(reply);
-               }
-       }
-
-       /**
         * Notifies all listeners that the given Sone is now marked as known.
         *
         * @see CoreListener#markSoneKnown(Sone)