From 4c530ac40dcd17e70abb0a2b28c6a557d2520117 Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Tue, 26 Mar 2013 20:52:28 +0000 Subject: [PATCH] Better lvar name. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1461307 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/commons/csv/CSVParser.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/commons/csv/CSVParser.java b/src/main/java/org/apache/commons/csv/CSVParser.java index fbce822c..52e74c4d 100644 --- a/src/main/java/org/apache/commons/csv/CSVParser.java +++ b/src/main/java/org/apache/commons/csv/CSVParser.java @@ -251,9 +251,9 @@ public class CSVParser implements Iterable { String[] header = null; if (format.getHeader().length == 0) { // read the header from the first line of the file - final CSVRecord rec = nextRecord(); - if (rec != null) { - header = rec.values(); + final CSVRecord record = nextRecord(); + if (record != null) { + header = record.values(); } } else { header = format.getHeader();