From: David ‘Bombe’ Roden Date: Tue, 12 Oct 2010 13:40:37 +0000 (+0200) Subject: Override hashCode(). X-Git-Tag: 0.1-RC1~536 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=d20339ba3ce709ac5c342e1511021aaa392376ee;p=Sone.git Override hashCode(). --- 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(); + } + }