From: David ‘Bombe’ Roden Date: Sat, 3 May 2008 20:48:29 +0000 (+0000) Subject: don't use deprecated method X-Git-Tag: v0.1.1~141 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=a32f9afee5f1aa0775bff199aba988c77baa618e;p=jFCPlib.git don't use deprecated method git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@846 c3eda9e8-030b-0410-8277-bc7414b0a119 --- diff --git a/src/net/pterodactylus/fcp/FcpTest.java b/src/net/pterodactylus/fcp/FcpTest.java index a47cbca..9e0c0c5 100644 --- a/src/net/pterodactylus/fcp/FcpTest.java +++ b/src/net/pterodactylus/fcp/FcpTest.java @@ -25,7 +25,7 @@ import junit.framework.TestCase; /** * Tests various commands and the FCP connection. - * + * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> * @version $Id$ */ @@ -49,7 +49,7 @@ public class FcpTest extends TestCase { */ @Override protected void tearDown() throws Exception { - fcpConnection.disconnect(); + fcpConnection.close(); } /** @@ -62,7 +62,7 @@ public class FcpTest extends TestCase { /** * Generates an SSK key pair. - * + * * @throws IOException * if an I/O error occurs * @throws InterruptedException