diff --git a/src/test/java/org/apache/commons/collections4/list/AbstractListTest.java b/src/test/java/org/apache/commons/collections4/list/AbstractListTest.java index d1750bed4..8d67aac9b 100644 --- a/src/test/java/org/apache/commons/collections4/list/AbstractListTest.java +++ b/src/test/java/org/apache/commons/collections4/list/AbstractListTest.java @@ -353,8 +353,7 @@ public abstract class AbstractListTest extends AbstractCollectionTest { */ @Override public Collection makeConfirmedCollection() { - final ArrayList list = new ArrayList<>(); - return list; + return new ArrayList<>(); } /**