diff --git a/src/main/java/org/apache/commons/collections/bidimap/DualLinkedHashBidiMap.java b/src/main/java/org/apache/commons/collections/bidimap/DualLinkedHashBidiMap.java index 16a865fda..5183e699e 100644 --- a/src/main/java/org/apache/commons/collections/bidimap/DualLinkedHashBidiMap.java +++ b/src/main/java/org/apache/commons/collections/bidimap/DualLinkedHashBidiMap.java @@ -76,6 +76,7 @@ public class DualLinkedHashBidiMap extends AbstractDualBidiMap imple * @param inverseBidiMap the inverse BidiMap * @return new bidi map */ + @Override protected BidiMap createBidiMap(final Map normalMap, final Map reverseMap, final BidiMap inverseBidiMap) { return new DualLinkedHashBidiMap(normalMap, reverseMap, inverseBidiMap); diff --git a/src/test/java/org/apache/commons/collections/queue/TransformedQueueTest.java b/src/test/java/org/apache/commons/collections/queue/TransformedQueueTest.java index 55e1ef497..14cbe0f3d 100644 --- a/src/test/java/org/apache/commons/collections/queue/TransformedQueueTest.java +++ b/src/test/java/org/apache/commons/collections/queue/TransformedQueueTest.java @@ -102,6 +102,7 @@ public class TransformedQueueTest extends AbstractCollectionTest { assertEquals(true, queue.remove(new Integer((String) els[0]))); } + @Override public String getCompatibilityVersion() { return "4"; }