This repository was archived by the owner on Jun 3, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
src/test/java/org/apache/commons/csv Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1393,11 +1393,11 @@ public void testParsingPrintedEmptyFirstColumn(final CSVFormat.Predefined format
13931393 try (CSVPrinter printer = new CSVPrinter (buf , format .getFormat ())) {
13941394 printer .printRecords (Stream .of (lines ));
13951395 }
1396- try (CSVParser parser = new CSVParser (new StringReader (buf .toString ()), format .getFormat ())) {
1396+ try (CSVParser csvRecords = new CSVParser (new StringReader (buf .toString ()), format .getFormat ())) {
13971397 for (final String [] line : lines ) {
1398- assertArrayEquals (line , parser .nextRecord ().values ());
1398+ assertArrayEquals (line , csvRecords .nextRecord ().values ());
13991399 }
1400- assertNull (parser .nextRecord ());
1400+ assertNull (csvRecords .nextRecord ());
14011401 }
14021402 }
14031403
You can’t perform that action at this time.
0 commit comments