From a665e4440a9af43b060dc8ffd64705675b96d278 Mon Sep 17 00:00:00 2001 From: dota17 Date: Thu, 30 Apr 2020 08:55:52 +0800 Subject: [PATCH] Remove the useless local var. --- .../apache/commons/collections4/queue/QueueDecoratorTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/java/org/apache/commons/collections4/queue/QueueDecoratorTest.java b/src/test/java/org/apache/commons/collections4/queue/QueueDecoratorTest.java index b7c7b576a1..c7798f34bc 100644 --- a/src/test/java/org/apache/commons/collections4/queue/QueueDecoratorTest.java +++ b/src/test/java/org/apache/commons/collections4/queue/QueueDecoratorTest.java @@ -41,8 +41,7 @@ public QueueDecoratorTest(String testName) { @Override public Collection makeConfirmedCollection() { - final ArrayList list = new ArrayList<>(); - return list; + return new ArrayList<>(); } @Override