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:
Gary D. Gregory 2016-06-13 06:58:34 +00:00
parent 275a8431e0
commit 05fc4d1018
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}