package com.androidzeitgeist.ani.discovery;

import java.net.InetAddress;

import android.content.Intent;

/**
 * This adapter class provides empty implementations of the methods from
 * {@link DiscoveryListener}.
 *
 * Any custom listener that cares only about a subset of the methods of this listener
 * can simply subclass this adapter class instead of implementing the interface
 * directly.
 *
 * @author Sebastian Kaspari <s.kaspari@gmail.com>
 */
public abstract class DiscoveryAdapter implements DiscoveryListener {
    /**
     * Called when the {@link Discovery} has successfully received an {@link Intent}.
     *
     * @param address The IP address of the sender of the {@link Intent}.
     * @param intent The received {@link Intent}.
     */
    public abstract void onIntentDiscovered(InetAddress address, Intent intent);

    /**
     * The {@link Discovery} has been started and is now waiting for incoming
     * {@link Intent}s.
     *
     * Empty default implementation.
     */
    public void onDiscoveryStarted() {
        // Empty default implementation
    }

    /**
     * The {@link Discovery} has been stopped.
     *
     * Empty default implementation.
     */
    public void onDiscoveryStopped() {
        // Empty default implementation
    }

    /**
     * An unrecoverable error occured. The {@link Discovery} is going to be stopped.
     *
     * Empty default implementation.
     */
    public void onDiscoveryError() {
        // Empty default implementation
    }
}

@@ -742,32 +742,46 @@
 ntent%7D.%0A     */%0A
+    @Override%0A
     public abstr
@@ -845,16 +845,16 @@
 ntent);%0A
-
 %0A    /**
@@ -1000,32 +1000,46 @@
 tation.%0A     */%0A
+    @Override%0A
     public void 
@@ -1207,32 +1207,46 @@
 tation.%0A     */%0A
+    @Override%0A
     public void 
@@ -1448,32 +1448,32 @@
 ementation.%0A
-
      */%0A
     public v
@@ -1456,24 +1456,38 @@
 on.%0A     */%0A
+    @Override%0A
     public v

Add missing @Override annotations.