From 18a603d932adcb0c1a8c79546acd937e3dd36f51 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Fri, 17 May 2013 22:05:57 +0000 Subject: [PATCH] SMACK-428 add 'public int RosterEntry.hashCode()' git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_1@13662 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smack/RosterEntry.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/org/jivesoftware/smack/RosterEntry.java b/source/org/jivesoftware/smack/RosterEntry.java index 31f7a1e15..55b394ed7 100644 --- a/source/org/jivesoftware/smack/RosterEntry.java +++ b/source/org/jivesoftware/smack/RosterEntry.java @@ -181,6 +181,11 @@ public class RosterEntry { } } + @Override + public int hashCode() { + return this.user.hashCode(); + } + /** * Indicates whether some other object is "equal to" this by comparing all members. *