ManyUsersTest: ArrayList --> LinkedList

This commit is contained in:
Tomas Kyjovsky 2016-02-26 12:34:39 +01:00
parent c59123e974
commit 0fa2b5c25d

View file

@ -4,7 +4,7 @@ import java.io.BufferedOutputStream;
import java.io.File; import java.io.File;
import java.io.FileOutputStream; import java.io.FileOutputStream;
import java.io.IOException; import java.io.IOException;
import java.util.ArrayList; import java.util.LinkedList;
import java.util.List; import java.util.List;
import org.junit.After; import org.junit.After;
import org.junit.Before; import org.junit.Before;
@ -39,7 +39,7 @@ public class ManyUsersTest extends AbstractUserTest {
@Before @Before
public void before() { public void before() {
users = new ArrayList<>(); users = new LinkedList<>();
for (int i = 0; i < COUNT; i++) { for (int i = 0; i < COUNT; i++) {
users.add(createUserRep("user" + i)); users.add(createUserRep("user" + i));
} }