Use final.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1748096 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
275a8431e0
commit
05fc4d1018
|
@ -237,7 +237,7 @@ public class CSVParserTest {
|
|||
final String[][] res_comments = { { "a", "b#" }, { "\n", " ", "#" }, };
|
||||
|
||||
try (final CSVParser parser = CSVParser.parse(code, format)) {
|
||||
List<CSVRecord> records = parser.getRecords();
|
||||
final List<CSVRecord> records = parser.getRecords();
|
||||
assertTrue(records.size() > 0);
|
||||
|
||||
Utils.compare("Failed to parse without comments", res, records);
|
||||
|
@ -245,7 +245,7 @@ public class CSVParserTest {
|
|||
format = CSVFormat.DEFAULT.withCommentMarker('#');
|
||||
}
|
||||
try (final CSVParser parser = CSVParser.parse(code, format)) {
|
||||
List<CSVRecord> records = parser.getRecords();
|
||||
final List<CSVRecord> records = parser.getRecords();
|
||||
|
||||
Utils.compare("Failed to parse with comments", res_comments, records);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue