Remove redundant syntax
This commit is contained in:
parent
b7698a627f
commit
7cad9c3ef8
|
@ -65,7 +65,7 @@ public class ReflectionToStringBuilderConcurrencyTest extends AbstractLangTest {
|
|||
@Test
|
||||
@Disabled
|
||||
public void testArrayList() throws InterruptedException {
|
||||
this.testConcurrency(new CollectionHolder<>(new ArrayList<>()));
|
||||
testConcurrency(new CollectionHolder<>(new ArrayList<>()));
|
||||
}
|
||||
|
||||
private void testConcurrency(final CollectionHolder<List<Integer>> holder) throws InterruptedException {
|
||||
|
@ -106,12 +106,12 @@ public class ReflectionToStringBuilderConcurrencyTest extends AbstractLangTest {
|
|||
@Test
|
||||
@Disabled
|
||||
public void testCopyOnWriteArrayList() throws InterruptedException {
|
||||
this.testConcurrency(new CollectionHolder<>(new CopyOnWriteArrayList<>()));
|
||||
testConcurrency(new CollectionHolder<>(new CopyOnWriteArrayList<>()));
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled
|
||||
public void testLinkedList() throws InterruptedException {
|
||||
this.testConcurrency(new CollectionHolder<>(new LinkedList<>()));
|
||||
testConcurrency(new CollectionHolder<>(new LinkedList<>()));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue