don't use deprecated method
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Sat, 3 May 2008 20:48:29 +0000 (20:48 +0000)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Sat, 3 May 2008 20:48:29 +0000 (20:48 +0000)
git-svn-id: http://trooper/svn/projects/jFCPlib/branch/high-level-client@846 c3eda9e8-030b-0410-8277-bc7414b0a119

src/net/pterodactylus/fcp/FcpTest.java

index a47cbca..9e0c0c5 100644 (file)
@@ -25,7 +25,7 @@ import junit.framework.TestCase;
 
 /**
  * Tests various commands and the FCP connection.
- * 
+ *
  * @author David ‘Bombe’ Roden &lt;bombe@freenetproject.org&gt;
  * @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