From: David ‘Bombe’ Roden Date: Wed, 8 Jul 2015 19:20:01 +0000 (+0200) Subject: Remove debug code X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=e556f854462736f67977c60978a13cc1e1f7ee88;p=jFCPlib.git Remove debug code --- diff --git a/src/main/java/net/pterodactylus/fcp/quelaton/FcpReplySequence.java b/src/main/java/net/pterodactylus/fcp/quelaton/FcpReplySequence.java index 03d1b0b..9b2db2a 100644 --- a/src/main/java/net/pterodactylus/fcp/quelaton/FcpReplySequence.java +++ b/src/main/java/net/pterodactylus/fcp/quelaton/FcpReplySequence.java @@ -68,12 +68,7 @@ public abstract class FcpReplySequence implements AutoCloseable, FcpListener protected abstract boolean isFinished(); public ListenableFuture send(FcpMessage fcpMessage) throws IOException { - try { fcpConnection.addFcpListener(this); - - } catch (Throwable throwable) { - throwable.printStackTrace(); - } fcpConnection.sendMessage(fcpMessage); return executorService.submit(() -> { synchronized (syncObject) {