Java Code Examples for org.apache.commons.collections.ListUtils#unmodifiableList()

The following examples show how to use org.apache.commons.collections.ListUtils#unmodifiableList() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ProductCsvReaderTest.java    From the-app with Apache License 2.0 4 votes vote down vote up
@Before
@SuppressWarnings( "unchecked" )
public void parseCsv() throws IOException {
    parsedProducts = ListUtils.unmodifiableList( new ProductCsvReader().parseCsv( ));
}
 
Example 2
Source File: ProductCsvReaderTest.java    From AppStash with Apache License 2.0 4 votes vote down vote up
@Before
@SuppressWarnings( "unchecked" )
public void parseCsv() throws IOException {
    parsedProducts = ListUtils.unmodifiableList( new ProductCsvReader().parseCsv( ));
}