X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Ffcp%2FGetLocalSonesCommand.java;h=a55a81c47a79f9ace5a25f8e34df5d08aa13c4bc;hb=4f1c79caddd4f38e9639f054f7a8800c2a5627b3;hp=8ac80cc397036e237b44f38682bb655019ae6249;hpb=c4ae226ec5052116cefc542ae2017036a7bc6332;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/fcp/GetLocalSonesCommand.java b/src/main/java/net/pterodactylus/sone/fcp/GetLocalSonesCommand.java index 8ac80cc..a55a81c 100644 --- a/src/main/java/net/pterodactylus/sone/fcp/GetLocalSonesCommand.java +++ b/src/main/java/net/pterodactylus/sone/fcp/GetLocalSonesCommand.java @@ -19,7 +19,6 @@ package net.pterodactylus.sone.fcp; import net.pterodactylus.sone.core.Core; import freenet.support.SimpleFieldSet; -import freenet.support.api.Bucket; /** * Implements the “GetLocalSones” FCP command that returns the list of local @@ -43,7 +42,7 @@ public class GetLocalSonesCommand extends AbstractSoneCommand { * {@inheritDoc} */ @Override - public Response execute(SimpleFieldSet parameters, Bucket data, AccessType accessType) { + public Response execute(SimpleFieldSet parameters) { return new Response("ListLocalSones", encodeSones(getCore().getLocalSones(), "LocalSones.")); }