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:
parent
745dd6673f
commit
af2d6e62f3
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue