X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Ffcp%2Fquelaton%2FGetNodeCommandImpl.java;h=3e9e85062b0a58e26812c2983bd088c6ac636df4;hb=90abd71ef157f31b3330d0d51664e3d14c889ccf;hp=025cddca152d4cfdd9f192139bbc46960a398670;hpb=e591c6488b692e3dfcf2efd1905d399f39c6067f;p=jFCPlib.git diff --git a/src/main/java/net/pterodactylus/fcp/quelaton/GetNodeCommandImpl.java b/src/main/java/net/pterodactylus/fcp/quelaton/GetNodeCommandImpl.java index 025cddc..3e9e850 100644 --- a/src/main/java/net/pterodactylus/fcp/quelaton/GetNodeCommandImpl.java +++ b/src/main/java/net/pterodactylus/fcp/quelaton/GetNodeCommandImpl.java @@ -51,10 +51,10 @@ public class GetNodeCommandImpl implements GetNodeCommand { @Override public ListenableFuture execute() { - return threadPool.submit(this::executeSequence); + return threadPool.submit(this::executeDialog); } - private NodeData executeSequence() throws InterruptedException, ExecutionException, IOException { + private NodeData executeDialog() throws InterruptedException, ExecutionException, IOException { GetNode getNode = new GetNode(new RandomIdentifierGenerator().generate(), giveOpennetRef.get(), includePrivate.get(), includeVolatile.get()); try (GetNodeDialog getNodeDialog = new GetNodeDialog()) {