Remove redundant syntax

This commit is contained in:
Gary Gregory 2024-09-12 10:17:23 -04:00
parent b7698a627f
commit 7cad9c3ef8
1 changed files with 3 additions and 3 deletions

View File

@ -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<>()));
}
}