From c55737094ab4551ae6d9805e4397b25322c87c78 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 24 Nov 2011 10:27:56 +0100 Subject: [PATCH] =?utf8?q?Initialize=20hash=20code=20with=20the=20super=20?= =?utf8?q?class=E2=80=99=20hash=20code.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/java/net/pterodactylus/sone/notify/ListNotification.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/sone/notify/ListNotification.java b/src/main/java/net/pterodactylus/sone/notify/ListNotification.java index 7216c42..57cb7fe 100644 --- a/src/main/java/net/pterodactylus/sone/notify/ListNotification.java +++ b/src/main/java/net/pterodactylus/sone/notify/ListNotification.java @@ -170,7 +170,7 @@ public class ListNotification extends TemplateNotification { */ @Override public int hashCode() { - int hashCode = key.hashCode(); + int hashCode = super.hashCode(); for (T element : elements) { hashCode ^= element.hashCode(); } -- 2.7.4