projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'feature/fix-logging' into next
[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
e130fa2
..
b8684b0
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/fcp/GetLocalSonesCommand.java
+++ b/
src/main/java/net/pterodactylus/sone/fcp/GetLocalSonesCommand.java
@@
-18,7
+18,6
@@
package net.pterodactylus.sone.fcp;
import net.pterodactylus.sone.core.Core;
package net.pterodactylus.sone.fcp;
import net.pterodactylus.sone.core.Core;
-import net.pterodactylus.sone.freenet.fcp.FcpException;
import freenet.support.SimpleFieldSet;
import freenet.support.api.Bucket;
import freenet.support.SimpleFieldSet;
import freenet.support.api.Bucket;
@@
-44,7
+43,7
@@
public class GetLocalSonesCommand extends AbstractSoneCommand {
* {@inheritDoc}
*/
@Override
* {@inheritDoc}
*/
@Override
- public Response execute(SimpleFieldSet parameters, Bucket data, AccessType accessType)
throws FcpException
{
+ public Response execute(SimpleFieldSet parameters, Bucket data, AccessType accessType) {
return new Response("ListLocalSones", encodeSones(getCore().getLocalSones(), "LocalSones."));
}
return new Response("ListLocalSones", encodeSones(getCore().getLocalSones(), "LocalSones."));
}