X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Ffcp%2FFcpTest.java;h=6c51848dec7e3911963628b962e9ef509edb141a;hb=a655177a4605236e866ac7e0ce32f7cb5289cbc4;hp=a47cbcaf40123669d9ed20223eeebbbfa8489437;hpb=f553531be78d6d6d95dc152728f2b8d40242b57d;p=jFCPlib.git diff --git a/src/net/pterodactylus/fcp/FcpTest.java b/src/net/pterodactylus/fcp/FcpTest.java index a47cbca..6c51848 100644 --- a/src/net/pterodactylus/fcp/FcpTest.java +++ b/src/net/pterodactylus/fcp/FcpTest.java @@ -1,6 +1,5 @@ /* - * jSite2 - FcpTest.java - - * Copyright © 2008 David Roden + * jFCPlib - FcpTest.java - Copyright © 2008 David Roden * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -25,9 +24,8 @@ import junit.framework.TestCase; /** * Tests various commands and the FCP connection. - * + * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class FcpTest extends TestCase { @@ -49,7 +47,7 @@ public class FcpTest extends TestCase { */ @Override protected void tearDown() throws Exception { - fcpConnection.disconnect(); + fcpConnection.close(); } /** @@ -62,7 +60,7 @@ public class FcpTest extends TestCase { /** * Generates an SSK key pair. - * + * * @throws IOException * if an I/O error occurs * @throws InterruptedException