Fix JsonRpcLocalCommand interface

This commit is contained in:
AsamK 2021-08-15 21:20:26 +02:00
parent b810e303ec
commit 28f735741a

View file

@ -13,9 +13,7 @@ import java.util.List;
import java.util.Map;
import java.util.Set;
public interface JsonRpcLocalCommand extends JsonRpcCommand<Map<String, Object>> {
void handleCommand(Namespace ns, Manager m) throws CommandException;
public interface JsonRpcLocalCommand extends JsonRpcCommand<Map<String, Object>>, LocalCommand {
default TypeReference<Map<String, Object>> getRequestType() {
return new TypeReference<>() {