From cdc43cba87ab4305ac206e5777ea415dd31e3797 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 17 Sep 2013 15:28:21 +0200 Subject: [PATCH] =?utf8?q?Override=20equals()=20and=20hashCode()=20to=20ma?= =?utf8?q?ke=20clear=20that=20they=20don=E2=80=99t=20need=20to=20be.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../pterodactylus/sone/freenet/wot/DefaultOwnIdentity.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/main/java/net/pterodactylus/sone/freenet/wot/DefaultOwnIdentity.java b/src/main/java/net/pterodactylus/sone/freenet/wot/DefaultOwnIdentity.java index 4f87b97..348cd8c 100644 --- a/src/main/java/net/pterodactylus/sone/freenet/wot/DefaultOwnIdentity.java +++ b/src/main/java/net/pterodactylus/sone/freenet/wot/DefaultOwnIdentity.java @@ -70,4 +70,18 @@ public class DefaultOwnIdentity extends DefaultIdentity implements OwnIdentity { return insertUri; } + // + // OBJECT METHODS + // + + @Override + public int hashCode() { + return super.hashCode(); + } + + @Override + public boolean equals(Object object) { + return super.equals(object); + } + } -- 2.7.4