mirror of
https://github.com/apache/commons-csv.git
synced 2025-02-20 00:47:20 +00:00
Format.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1578189 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fa3416da03
commit
7b8cc87fd8
@ -44,8 +44,7 @@ public class FercGovTest {
|
||||
@Test
|
||||
public void testContractFile() throws IOException {
|
||||
final URL contractData = ClassLoader.getSystemClassLoader().getResource("ferc.gov/contract.txt");
|
||||
final CSVParser parser = CSVParser.parse(contractData, US_ASCII,
|
||||
CSVFormat.DEFAULT.withHeader());
|
||||
final CSVParser parser = CSVParser.parse(contractData, US_ASCII, CSVFormat.DEFAULT.withHeader());
|
||||
try {
|
||||
final List<CSVRecord> records = parser.getRecords();
|
||||
CSVRecord record = records.get(0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user