fix field name
[jSite2.git] / src / net / pterodactylus / util / fcp / FcpTest.java
index b07bb85..7aca867 100644 (file)
@@ -22,10 +22,6 @@ package net.pterodactylus.util.fcp;
 import java.io.IOException;
 
 import junit.framework.TestCase;
-import net.pterodactylus.util.fcp.message.ClientHello;
-import net.pterodactylus.util.fcp.message.CloseConnectionDuplicateClientName;
-import net.pterodactylus.util.fcp.message.GenerateSSK;
-import net.pterodactylus.util.fcp.message.NodeHello;
 
 /**
  * Tests various commands and the FCP connection.
@@ -60,12 +56,10 @@ public class FcpTest extends TestCase {
         * Tests the FCP connection be simply {@link #setUp() setting it up} and
         * {@link #tearDown() tearing it down} again.
         * 
-        * @throws FcpException
-        *             if an FCP error occurs
         * @throws IOException
         *             if an I/O error occurs
         */
-       public void testFcpConnection() throws FcpException, IOException {
+       public void testFcpConnection() throws IOException {
                /* do nothing. */
        }
 
@@ -90,19 +84,17 @@ public class FcpTest extends TestCase {
        /**
         * Generates an SSK key pair.
         * 
-        * @throws FcpException
-        *             if an FCP error occurs
         * @throws IOException
         *             if an I/O error occurs
         * @throws InterruptedException
         *             if {@link Object#wait()} wakes up spuriously
         */
-       public void testGenerateSSK() throws IOException, FcpException, InterruptedException {
+       public void testGenerateSSK() throws IOException, InterruptedException {
                final boolean[] result = new boolean[1];
                FcpAdapter fcpAdapter = new FcpAdapter() {
                        /**
                         * @see net.pterodactylus.util.fcp.FcpAdapter#receivedNodeHello(net.pterodactylus.util.fcp.FcpConnection,
-                        *      net.pterodactylus.util.fcp.message.NodeHello)
+                        *      net.pterodactylus.util.fcp.NodeHello)
                         */
                        @Override
                        public void receivedNodeHello(FcpConnection fcpConnection, NodeHello nodeHello) {
@@ -114,7 +106,7 @@ public class FcpTest extends TestCase {
 
                        /**
                         * @see net.pterodactylus.util.fcp.FcpAdapter#receivedCloseConnectionDuplicateClientName(net.pterodactylus.util.fcp.FcpConnection,
-                        *      net.pterodactylus.util.fcp.message.CloseConnectionDuplicateClientName)
+                        *      net.pterodactylus.util.fcp.CloseConnectionDuplicateClientName)
                         */
                        @Override
                        public void receivedCloseConnectionDuplicateClientName(FcpConnection fcpConnection, CloseConnectionDuplicateClientName closeConnectionDuplicateClientName) {