From d20339ba3ce709ac5c342e1511021aaa392376ee Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 12 Oct 2010 15:40:37 +0200 Subject: [PATCH] Override hashCode(). --- src/main/java/net/pterodactylus/sone/data/Sone.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/main/java/net/pterodactylus/sone/data/Sone.java b/src/main/java/net/pterodactylus/sone/data/Sone.java index 8416a05..7c96443 100644 --- a/src/main/java/net/pterodactylus/sone/data/Sone.java +++ b/src/main/java/net/pterodactylus/sone/data/Sone.java @@ -131,4 +131,17 @@ public class Sone { return this; } + // + // OBJECT METHODS + // + + /** + * {@inheritDoc} + */ + @Override + public int hashCode() { + /* TODO improve */ + return requestUri.hashCode(); + } + } -- 2.7.4