Fix IdentityListener interface methods.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 13 Dec 2010 20:53:13 +0000 (21:53 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 13 Dec 2010 20:53:13 +0000 (21:53 +0100)
src/main/java/net/pterodactylus/sone/core/Core.java

index 6d6c998..f1a8d3e 100644 (file)
@@ -1582,7 +1582,7 @@ public class Core implements IdentityListener {
         * {@inheritDoc}
         */
        @Override
-       public void identityAdded(Identity identity) {
+       public void identityAdded(OwnIdentity ownIdentity, Identity identity) {
                logger.log(Level.FINEST, "Adding Identity: " + identity);
                addRemoteSone(identity);
        }
@@ -1591,7 +1591,7 @@ public class Core implements IdentityListener {
         * {@inheritDoc}
         */
        @Override
-       public void identityUpdated(final Identity identity) {
+       public void identityUpdated(OwnIdentity ownIdentity, final Identity identity) {
                new Thread(new Runnable() {
 
                        @Override
@@ -1607,7 +1607,7 @@ public class Core implements IdentityListener {
         * {@inheritDoc}
         */
        @Override
-       public void identityRemoved(Identity identity) {
+       public void identityRemoved(OwnIdentity ownIdentity, Identity identity) {
                /* TODO */
        }