From a40650c56b851e1dd6214eb29c0ce6c664f5f50f Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Mon, 11 Nov 2024 10:25:32 -0500 Subject: [PATCH] [COLLECTIONS-777] Migrate to JUnit 5 Remove redundant constructors --- .../commons/collections4/bidimap/DualTreeBidiMap2Test.java | 4 ---- .../commons/collections4/bidimap/DualTreeBidiMapTest.java | 4 ---- .../collections4/bidimap/UnmodifiableSortedBidiMapTest.java | 4 ---- 3 files changed, 12 deletions(-) diff --git a/src/test/java/org/apache/commons/collections4/bidimap/DualTreeBidiMap2Test.java b/src/test/java/org/apache/commons/collections4/bidimap/DualTreeBidiMap2Test.java index 5e96b5537a..db4e179a49 100644 --- a/src/test/java/org/apache/commons/collections4/bidimap/DualTreeBidiMap2Test.java +++ b/src/test/java/org/apache/commons/collections4/bidimap/DualTreeBidiMap2Test.java @@ -51,10 +51,6 @@ public int compare(final Integer o1, final Integer o2) { } } - public DualTreeBidiMap2Test() { - super(); - } - @Override public String getCompatibilityVersion() { return "4.Test2"; diff --git a/src/test/java/org/apache/commons/collections4/bidimap/DualTreeBidiMapTest.java b/src/test/java/org/apache/commons/collections4/bidimap/DualTreeBidiMapTest.java index 5050d1cbf6..e7ebd50762 100644 --- a/src/test/java/org/apache/commons/collections4/bidimap/DualTreeBidiMapTest.java +++ b/src/test/java/org/apache/commons/collections4/bidimap/DualTreeBidiMapTest.java @@ -21,10 +21,6 @@ */ public class DualTreeBidiMapTest, V extends Comparable> extends AbstractSortedBidiMapTest { - public DualTreeBidiMapTest() { - super(); - } - /** * {@inheritDoc} */ diff --git a/src/test/java/org/apache/commons/collections4/bidimap/UnmodifiableSortedBidiMapTest.java b/src/test/java/org/apache/commons/collections4/bidimap/UnmodifiableSortedBidiMapTest.java index eb3bc9695f..f83af6ffa8 100644 --- a/src/test/java/org/apache/commons/collections4/bidimap/UnmodifiableSortedBidiMapTest.java +++ b/src/test/java/org/apache/commons/collections4/bidimap/UnmodifiableSortedBidiMapTest.java @@ -32,10 +32,6 @@ */ public class UnmodifiableSortedBidiMapTest, V extends Comparable> extends AbstractSortedBidiMapTest { - public UnmodifiableSortedBidiMapTest() { - super(); - } - @Override public boolean isAllowNullKey() { return false;