projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove bucket and access type from command interface
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
fcp
/
GetLocalSonesCommand.java
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
(file)
--- 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 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
/**
* Implements the “GetLocalSones” FCP command that returns the list of local
@@
-43,7
+42,7
@@
public class GetLocalSonesCommand extends AbstractSoneCommand {
* {@inheritDoc}
*/
@Override
* {@inheritDoc}
*/
@Override
- public Response execute(SimpleFieldSet parameters
, Bucket data, AccessType accessType
) {
+ public Response execute(SimpleFieldSet parameters) {
return new Response("ListLocalSones", encodeSones(getCore().getLocalSones(), "LocalSones."));
}
return new Response("ListLocalSones", encodeSones(getCore().getLocalSones(), "LocalSones."));
}