Change all copyright headers to include 2012.
[Sone.git] / src / main / java / net / pterodactylus / sone / notify / ListNotification.java
index 57cb7fe..f1343ad 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - ListNotification.java - Copyright © 2010 David Roden
+ * Sone - ListNotification.java - Copyright © 2010–2012 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -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;
                }