From 10340e6f541b0e5082512607904f2db61e0b2bf4 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:28:17 +0100 Subject: [PATCH] Include checks for equals() made by the super class. --- src/main/java/net/pterodactylus/sone/notify/ListNotification.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/net/pterodactylus/sone/notify/ListNotification.java b/src/main/java/net/pterodactylus/sone/notify/ListNotification.java index 57cb7fe..cf658bd 100644 --- a/src/main/java/net/pterodactylus/sone/notify/ListNotification.java +++ b/src/main/java/net/pterodactylus/sone/notify/ListNotification.java @@ -186,6 +186,9 @@ public class ListNotification extends TemplateNotification { return false; } ListNotification listNotification = (ListNotification) object; + if (!super.equals(listNotification)) { + return false; + } if (!key.equals(listNotification.key)) { return false; } -- 2.7.4