From: David ‘Bombe’ Roden Date: Sat, 3 May 2008 20:09:02 +0000 (+0000) Subject: don't use deprecated method X-Git-Tag: v0.1.1~143 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=2f02ab2738b81ca887fcdd2fa88db8eb07cc58b7;p=jFCPlib.git don't use deprecated method git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@844 c3eda9e8-030b-0410-8277-bc7414b0a119 --- diff --git a/src/net/pterodactylus/fcp/highlevel/HighLevelClient.java b/src/net/pterodactylus/fcp/highlevel/HighLevelClient.java index 1b52e72..d5252ad 100644 --- a/src/net/pterodactylus/fcp/highlevel/HighLevelClient.java +++ b/src/net/pterodactylus/fcp/highlevel/HighLevelClient.java @@ -231,7 +231,7 @@ public class HighLevelClient { * Disconnects the client from the node. */ public void disconnect() { - fcpConnection.disconnect(); + fcpConnection.close(); } /**