Remove unused method.
[Sone.git] / src / main / java / net / pterodactylus / sone / freenet / plugin / PluginConnector.java
index 47330e8..322b0d3 100644 (file)
@@ -19,9 +19,6 @@ package net.pterodactylus.sone.freenet.plugin;
 
 import net.pterodactylus.sone.freenet.plugin.event.ReceivedReplyEvent;
 
-import com.google.common.eventbus.EventBus;
-import com.google.inject.Inject;
-
 import freenet.pluginmanager.FredPluginTalker;
 import freenet.pluginmanager.PluginNotFoundException;
 import freenet.pluginmanager.PluginRespirator;
@@ -29,6 +26,9 @@ import freenet.pluginmanager.PluginTalker;
 import freenet.support.SimpleFieldSet;
 import freenet.support.api.Bucket;
 
+import com.google.common.eventbus.EventBus;
+import com.google.inject.Inject;
+
 /**
  * Interface for talking to other plugins. Other plugins are identified by their
  * name and a unique connection identifier.
@@ -70,22 +70,6 @@ public class PluginConnector implements FredPluginTalker {
         *            The identifier of the connection
         * @param fields
         *            The fields of the message
-        * @throws PluginException
-        *             if the plugin can not be found
-        */
-       public void sendRequest(String pluginName, String identifier, SimpleFieldSet fields) throws PluginException {
-               sendRequest(pluginName, identifier, fields, null);
-       }
-
-       /**
-        * Sends a request to the given plugin.
-        *
-        * @param pluginName
-        *            The name of the plugin
-        * @param identifier
-        *            The identifier of the connection
-        * @param fields
-        *            The fields of the message
         * @param data
         *            The payload of the message (may be null)
         * @throws PluginException
@@ -122,9 +106,6 @@ public class PluginConnector implements FredPluginTalker {
        // INTERFACE FredPluginTalker
        //
 
-       /**
-        * {@inheritDoc}
-        */
        @Override
        public void onReply(String pluginName, String identifier, SimpleFieldSet params, Bucket data) {
                eventBus.post(new ReceivedReplyEvent(this, pluginName, identifier, params, data));