X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Ffcp%2FGetLocalSonesCommand.java;h=1054f761a3a7feffaed091a52104bb800e26f479;hb=6a426e5c3a82f3e63a8763d2a5ad57f311bc6065;hp=5d44befc9095259dae2ec6902bc25b7971d9b3d9;hpb=9974554893d242667d5a7aace777ce07f7c07f95;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 5d44bef..1054f76 100644 --- a/src/main/java/net/pterodactylus/sone/fcp/GetLocalSonesCommand.java +++ b/src/main/java/net/pterodactylus/sone/fcp/GetLocalSonesCommand.java @@ -44,8 +44,8 @@ public class GetLocalSonesCommand extends AbstractSoneCommand { * {@inheritDoc} */ @Override - public Reply execute(SimpleFieldSet parameters, Bucket data, AccessType accessType) throws FcpException { - return new Reply(encodeSones(getCore().getLocalSones())); + public Response execute(SimpleFieldSet parameters, Bucket data, AccessType accessType) throws FcpException { + return new Response(encodeSones(getCore().getLocalSones())); } }