From c3637df3a040eca58e500fd261907f8f925db2f4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 25 Nov 2015 19:12:13 +0100 Subject: [PATCH] =?utf8?q?Fix=20=E2=80=9CisClosed=E2=80=9D=20method?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/java/net/pterodactylus/fcp/FcpConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/fcp/FcpConnection.java b/src/main/java/net/pterodactylus/fcp/FcpConnection.java index 0eda39d..34f47fd 100644 --- a/src/main/java/net/pterodactylus/fcp/FcpConnection.java +++ b/src/main/java/net/pterodactylus/fcp/FcpConnection.java @@ -157,7 +157,7 @@ public class FcpConnection implements Closeable { } public synchronized boolean isClosed() { - return connectionHandler != null; + return connectionHandler == null; } // -- 2.7.4