Fix typo in event name.
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Mon, 20 Jul 2009 19:45:25 +0000 (21:45 +0200)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Mon, 20 Jul 2009 19:45:25 +0000 (21:45 +0200)
src/net/pterodactylus/fcp/FcpAdapter.java
src/net/pterodactylus/fcp/FcpListener.java
src/net/pterodactylus/fcp/FcpListenerManager.java

index 04798b1..ae32e62 100644 (file)
@@ -166,7 +166,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
-       public void receviedFinishedCompression(FcpConnection fcpConnection, FinishedCompression finishedCompression) {
+       public void receivedFinishedCompression(FcpConnection fcpConnection, FinishedCompression finishedCompression) {
                /* empty. */
        }
 
index 5b5149a..20b4d9b 100644 (file)
@@ -227,7 +227,7 @@ public interface FcpListener extends EventListener {
         * @param finishedCompression
         *            The “FinishedCompression” message
         */
-       public void receviedFinishedCompression(FcpConnection fcpConnection, FinishedCompression finishedCompression);
+       public void receivedFinishedCompression(FcpConnection fcpConnection, FinishedCompression finishedCompression);
 
        /**
         * Notifies a listener that an “UnknownPeerNoteType” was received.
index f3a8d06..1a8a13c 100644 (file)
@@ -293,14 +293,14 @@ public class FcpListenerManager extends AbstractListenerManager<FcpConnection, F
        /**
         * Notifies all listeners that a “FinishedCompression” message was received.
         *
-        * @see FcpListener#receviedFinishedCompression(FcpConnection,
+        * @see FcpListener#receivedFinishedCompression(FcpConnection,
         *      FinishedCompression)
         * @param finishedCompression
         *            The “FinishedCompression” message
         */
        public void fireReceivedFinishedCompression(FinishedCompression finishedCompression) {
                for (FcpListener fcpListener : getListeners()) {
-                       fcpListener.receviedFinishedCompression(getSource(), finishedCompression);
+                       fcpListener.receivedFinishedCompression(getSource(), finishedCompression);
                }
        }