Add missing '@Override' annotations.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1429891 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2013-01-07 16:49:40 +00:00
parent 745dd6673f
commit af2d6e62f3
3 changed files with 4 additions and 0 deletions

View File

@ -548,6 +548,7 @@ public class ListUtils {
this.size = size; this.size = size;
} }
@Override
public List<T> get(int index) { public List<T> get(int index) {
int listSize = size(); int listSize = size();
if (listSize < 0) { if (listSize < 0) {
@ -565,6 +566,7 @@ public class ListUtils {
return list.subList(start, end); return list.subList(start, end);
} }
@Override
public int size() { public int size() {
return (list.size() + size - 1) / size; return (list.size() + size - 1) / size;
} }

View File

@ -199,6 +199,7 @@ public class UnmodifiableTrie<K, V> implements Trie<K, V>, Serializable, Unmodif
return delegate.size(); return delegate.size();
} }
@Override
public int hashCode() { public int hashCode() {
return delegate.hashCode(); return delegate.hashCode();
} }

View File

@ -98,6 +98,7 @@ public class IndexedCollectionTest extends AbstractCollectionTest<String> {
//------------------------------------------------------------------------ //------------------------------------------------------------------------
@Override
public void testCollectionAddAll() { public void testCollectionAddAll() {
// FIXME: does not work as we do not support multi-keys yet // FIXME: does not work as we do not support multi-keys yet
} }