修正项目结构
This commit is contained in:
@@ -17,12 +17,6 @@
|
||||
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.assertj</groupId>
|
||||
<artifactId>assertj-core</artifactId>
|
||||
<version>3.17.2</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-collections4</artifactId>
|
||||
|
||||
+16
@@ -10,6 +10,22 @@ import java.util.List;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* ArrayToListConversionUnitTest
|
||||
* <ul>
|
||||
* <li>@see <a href= "https://www.ossez.com/t/java-arrays-aslist-new-arraylist-arrays-aslist/13680">Arrays.asList vs new ArrayList(Arrays.asList())</a>
|
||||
* </li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @author YuCheng
|
||||
*/
|
||||
|
||||
/*Line 1
|
||||
Line 2
|
||||
Line 3*/
|
||||
|
||||
public class ArrayToListConversionUnitTest {
|
||||
|
||||
@Test(expected = UnsupportedOperationException.class)
|
||||
|
||||
Reference in New Issue
Block a user