From: David ‘Bombe’ Roden Date: Mon, 13 Dec 2010 20:53:13 +0000 (+0100) Subject: Fix IdentityListener interface methods. X-Git-Tag: 0.4^2~8^2~59 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=670f053f8236c26a35eae55be38b6cf204d2c0f0;p=Sone.git Fix IdentityListener interface methods. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index 6d6c998..f1a8d3e 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -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 */ }