From 21ed5b135c8de3db3259962f0296bb98f2aa8afb Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Tue, 30 Jul 2013 16:25:30 +0000 Subject: [PATCH] Better lvar name. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1508510 13f79535-47bb-0310-9956-ffa450edef68 --- src/test/java/org/apache/commons/csv/CSVFileParserTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/apache/commons/csv/CSVFileParserTest.java b/src/test/java/org/apache/commons/csv/CSVFileParserTest.java index 96fab541..eefd7d4e 100644 --- a/src/test/java/org/apache/commons/csv/CSVFileParserTest.java +++ b/src/test/java/org/apache/commons/csv/CSVFileParserTest.java @@ -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");