Add missing @Override annotations.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1543168 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
69aa3946d2
commit
6607ad4329
|
@ -159,6 +159,7 @@ public final class CollectionBag<E> extends AbstractBagDecorator<E> {
|
|||
// Bag interface
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public boolean add(final E object, final int count) {
|
||||
decorated().add(object, count);
|
||||
return true;
|
||||
|
|
|
@ -159,6 +159,7 @@ public final class CollectionSortedBag<E> extends AbstractSortedBagDecorator<E>
|
|||
// Bag interface
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public boolean add(final E object, final int count) {
|
||||
decorated().add(object, count);
|
||||
return true;
|
||||
|
|
|
@ -78,6 +78,7 @@ public abstract class AbstractBidiMapDecorator<K, V>
|
|||
return decorated().inverseBidiMap();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Set<V> values() {
|
||||
return decorated().values();
|
||||
}
|
||||
|
|
|
@ -42,14 +42,17 @@ public class StringKeyAnalyzer extends KeyAnalyzer<String> {
|
|||
return MSB >>> bit;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int bitsPerElement() {
|
||||
return LENGTH;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int lengthInBits(final String key) {
|
||||
return key != null ? key.length() * LENGTH : 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int bitIndex(final String key, final int offsetInBits, final int lengthInBits,
|
||||
final String other, final int otherOffsetInBits, final int otherLengthInBits) {
|
||||
|
||||
|
@ -107,6 +110,7 @@ public class StringKeyAnalyzer extends KeyAnalyzer<String> {
|
|||
return KeyAnalyzer.EQUAL_BIT_KEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isBitSet(final String key, final int bitIndex, final int lengthInBits) {
|
||||
if (key == null || bitIndex >= lengthInBits) {
|
||||
return false;
|
||||
|
@ -118,6 +122,7 @@ public class StringKeyAnalyzer extends KeyAnalyzer<String> {
|
|||
return (key.charAt(index) & mask(bit)) != 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isPrefix(final String prefix, final int offsetInBits,
|
||||
final int lengthInBits, final String key) {
|
||||
if (offsetInBits % LENGTH != 0 || lengthInBits % LENGTH != 0) {
|
||||
|
|
|
@ -83,6 +83,7 @@ public class UnmodifiableQueueTest<E> extends AbstractQueueTest<E> {
|
|||
}
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
@Override
|
||||
public void testQueueRemove() {
|
||||
resetEmpty();
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue