X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Ffcp%2Fquelaton%2FListPeerNotesCommandImpl.java;h=0cd04839bef9b1c5b04f12864a4b7cf6ac856415;hb=90abd71ef157f31b3330d0d51664e3d14c889ccf;hp=426917ad4274f1a2d78ac0fe8849ca1b38819e18;hpb=e591c6488b692e3dfcf2efd1905d399f39c6067f;p=jFCPlib.git diff --git a/src/main/java/net/pterodactylus/fcp/quelaton/ListPeerNotesCommandImpl.java b/src/main/java/net/pterodactylus/fcp/quelaton/ListPeerNotesCommandImpl.java index 426917a..0cd0483 100644 --- a/src/main/java/net/pterodactylus/fcp/quelaton/ListPeerNotesCommandImpl.java +++ b/src/main/java/net/pterodactylus/fcp/quelaton/ListPeerNotesCommandImpl.java @@ -51,10 +51,10 @@ public class ListPeerNotesCommandImpl implements ListPeerNotesCommand { } private ListenableFuture> execute() { - return threadPool.submit(this::executeSequence); + return threadPool.submit(this::executeDialog); } - private Optional executeSequence() throws IOException, ExecutionException, InterruptedException { + private Optional executeDialog() throws IOException, ExecutionException, InterruptedException { ListPeerNotes listPeerNotes = new ListPeerNotes(new RandomIdentifierGenerator().generate(), nodeIdentifier.get()); try (ListPeerNotesDialog listPeerNotesDialog = new ListPeerNotesDialog()) {