Add @Override annotations.
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Fri, 15 Jan 2010 06:16:07 +0000 (07:16 +0100)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Fri, 15 Jan 2010 06:16:07 +0000 (07:16 +0100)
src/de/todesbaum/util/swing/SortedListModel.java

index 3bdf6d9..683368c 100644 (file)
@@ -116,6 +116,7 @@ public class SortedListModel<T extends Comparable<T>> extends AbstractListModel
        /**
         * {@inheritDoc}
         */
+       @Override
        public boolean equals(Object o) {
                return elements.equals(o);
        }
@@ -130,6 +131,7 @@ public class SortedListModel<T extends Comparable<T>> extends AbstractListModel
        /**
         * {@inheritDoc}
         */
+       @Override
        public int hashCode() {
                return elements.hashCode();
        }