X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Ffcp%2FGetSoneCommand.java;h=d0bd5ccd2e8fa893527fb56e14d699ff412407ed;hb=914d5522692e7714ba5bdefb002fedc8e293f5fc;hp=f23be198cb11c7efeb1dcc9691a1021fcfb27654;hpb=3d6cffe82270a1faacf1f0d39c34b11ab316e0db;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/fcp/GetSoneCommand.java b/src/main/java/net/pterodactylus/sone/fcp/GetSoneCommand.java index f23be19..d0bd5cc 100644 --- a/src/main/java/net/pterodactylus/sone/fcp/GetSoneCommand.java +++ b/src/main/java/net/pterodactylus/sone/fcp/GetSoneCommand.java @@ -25,7 +25,6 @@ import net.pterodactylus.sone.freenet.fcp.FcpException; import com.google.common.base.Optional; import freenet.support.SimpleFieldSet; -import freenet.support.api.Bucket; /** * Implements the “GetSone“ FCP command which returns {@link Profile} @@ -49,7 +48,7 @@ public class GetSoneCommand 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", false); Optional localSone = getSone(parameters, "LocalSone", false, false); return new Response("Sone", encodeSone(sone, "", localSone));