From: David ‘Bombe’ Roden Date: Thu, 24 Nov 2011 09:28:17 +0000 (+0100) Subject: Include checks for equals() made by the super class. X-Git-Tag: 0.7.5^2~4^2~13 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=10340e6f541b0e5082512607904f2db61e0b2bf4;p=Sone.git Include checks for equals() made by the super class. --- 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; }