Inline useless single use local variable

This commit is contained in:
Gary Gregory 2024-05-12 09:02:08 -04:00
parent de059262b9
commit 43214abc79
1 changed files with 1 additions and 2 deletions

View File

@ -353,8 +353,7 @@ public abstract class AbstractListTest<E> extends AbstractCollectionTest<E> {
*/
@Override
public Collection<E> makeConfirmedCollection() {
final ArrayList<E> list = new ArrayList<>();
return list;
return new ArrayList<>();
}
/**