From a65009931559c013b708441f6a032222b46e4a61 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Sun, 12 May 2024 09:02:27 -0400 Subject: [PATCH] Inline useless single use local variable --- .../commons/collections4/multiset/AbstractMultiSetTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/java/org/apache/commons/collections4/multiset/AbstractMultiSetTest.java b/src/test/java/org/apache/commons/collections4/multiset/AbstractMultiSetTest.java index 54010d11a..241b61059 100644 --- a/src/test/java/org/apache/commons/collections4/multiset/AbstractMultiSetTest.java +++ b/src/test/java/org/apache/commons/collections4/multiset/AbstractMultiSetTest.java @@ -169,8 +169,7 @@ public abstract class AbstractMultiSetTest extends AbstractCollectionTest */ @Override public Collection makeConfirmedCollection() { - final ArrayList list = new ArrayList<>(); - return list; + return new ArrayList<>(); } /**