Better lvar name.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1508510 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2013-07-30 16:25:30 +00:00
parent f78b5a14ca
commit 21ed5b135c
1 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ public class CSVFileParserTest {
final String[] split = line.split(" ");
assertTrue(testName+" require 1 param", split.length >= 1);
// first line starts with csv data file name
final BufferedReader csvFile = new BufferedReader(new FileReader(new File(BASE, split[0])));
final BufferedReader csvFileReader = new BufferedReader(new FileReader(new File(BASE, split[0])));
CSVFormat format = CSVFormat.newFormat(',').withQuoteChar('"');
boolean checkComments = false;
for(int i=1; i < split.length; i++) {
@ -110,7 +110,7 @@ public class CSVFileParserTest {
assertEquals(testName+" Expected format ", line, format.toString());
// Now parse the file and compare against the expected results
for(final CSVRecord record : format.parse(csvFile)) {
for(final CSVRecord record : format.parse(csvFileReader)) {
String parsed = record.toString();
if (checkComments) {
final String comment = record.getComment().replace("\n", "\\n");