Remove bucket and access type from command interface
[Sone.git] / src / main / java / net / pterodactylus / sone / fcp / CreatePostCommand.java
index 6f1e82c..b139ba2 100644 (file)
@@ -25,7 +25,6 @@ import net.pterodactylus.sone.data.Sone;
 import net.pterodactylus.sone.freenet.SimpleFieldSetBuilder;
 import net.pterodactylus.sone.freenet.fcp.FcpException;
 import freenet.support.SimpleFieldSet;
-import freenet.support.api.Bucket;
 
 /**
  * FCP command that creates a new {@link Post}.
@@ -49,7 +48,7 @@ public class CreatePostCommand extends AbstractSoneCommand {
         * {@inheritDoc}
         */
        @Override
-       public Response execute(SimpleFieldSet parameters, Bucket data, AccessType accessType) throws FcpException {
+       public Response execute(SimpleFieldSet parameters) throws FcpException {
                Sone sone = getSone(parameters, "Sone", true);
                String text = getString(parameters, "Text");
                Sone recipient = null;