Include checks for equals() made by the super class.
[Sone.git] / src / main / java / net / pterodactylus / sone / notify / ListNotification.java
index 57cb7fe..cf658bd 100644 (file)
@@ -186,6 +186,9 @@ public class ListNotification<T> extends TemplateNotification {
                        return false;
                }
                ListNotification<?> listNotification = (ListNotification<?>) object;
+               if (!super.equals(listNotification)) {
+                       return false;
+               }
                if (!key.equals(listNotification.key)) {
                        return false;
                }