From d24bccd8e90c308d8d52d6d04fee412a6a4c6222 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 15 Jan 2010 07:16:07 +0100 Subject: [PATCH] Add @Override annotations. --- src/de/todesbaum/util/swing/SortedListModel.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/de/todesbaum/util/swing/SortedListModel.java b/src/de/todesbaum/util/swing/SortedListModel.java index 3bdf6d9..683368c 100644 --- a/src/de/todesbaum/util/swing/SortedListModel.java +++ b/src/de/todesbaum/util/swing/SortedListModel.java @@ -116,6 +116,7 @@ public class SortedListModel> extends AbstractListModel /** * {@inheritDoc} */ + @Override public boolean equals(Object o) { return elements.equals(o); } @@ -130,6 +131,7 @@ public class SortedListModel> extends AbstractListModel /** * {@inheritDoc} */ + @Override public int hashCode() { return elements.hashCode(); } -- 2.7.4