Update year in copyright lines
[Sone.git] / src / main / java / net / pterodactylus / sone / fcp / GetLocalSonesCommand.java
index fdef446..1427fe7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - GetLocalSonesCommand.java - Copyright © 2011–2015 David Roden
+ * Sone - GetLocalSonesCommand.java - Copyright © 2011–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
 
 package net.pterodactylus.sone.fcp;
 
+import static net.pterodactylus.sone.fcp.AbstractSoneCommandKt.encodeSones;
+
 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
  * Sones to the sender.
- *
- * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
  */
 public class GetLocalSonesCommand extends AbstractSoneCommand {
 
@@ -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."));
        }