From 973fedad1d238d70b8ddb5d4a9c65aa43da275e3 Mon Sep 17 00:00:00 2001 From: Damian Minkov <damencho@jitsi.org> Date: Fri, 19 Oct 2012 12:22:58 +0000 Subject: [PATCH] Adds missing hashcode method reported by Lyubomir Marinov. --- .../impl/neomedia/notify/AudioNotifierServiceImpl.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/org/jitsi/impl/neomedia/notify/AudioNotifierServiceImpl.java b/src/org/jitsi/impl/neomedia/notify/AudioNotifierServiceImpl.java index 2867bb40..f2a79c28 100644 --- a/src/org/jitsi/impl/neomedia/notify/AudioNotifierServiceImpl.java +++ b/src/org/jitsi/impl/neomedia/notify/AudioNotifierServiceImpl.java @@ -283,5 +283,12 @@ public boolean equals(Object o) return true; } + + @Override + public int hashCode() + { + return (uri != null ? uri.hashCode() : 0) + + (isPlayback ? 1 : 0); + } } } -- GitLab