Inline useless single use local variable
This commit is contained in:
parent
de059262b9
commit
43214abc79
|
@ -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<>();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue