Author: britter
Date: Fri Sep 13 08:29:49 2013
New Revision: 1522811

URL: http://svn.apache.org/r1522811
Log:
We are really iterating over records here

Modified:
    commons/proper/csv/trunk/src/site/xdoc/index.xml

Modified: commons/proper/csv/trunk/src/site/xdoc/index.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/site/xdoc/index.xml?rev=1522811&r1=1522810&r2=1522811&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/site/xdoc/index.xml (original)
+++ commons/proper/csv/trunk/src/site/xdoc/index.xml Fri Sep 13 08:29:49 2013
@@ -26,8 +26,8 @@ limitations under the License.
   <p>Commons CSV reads and writes files in variations of the Comma Separated 
Value (CSV) format.</p>
   <p>To parse an Excel CSV file, write:</p>
   <source>Reader in = new FileReader(&quot;path/to/file.csv&quot;);
-Iterable&lt;CSVRecord&gt; parser = CSVFormat.EXCEL.parse(in);
-for (CSVRecord record : parser) {
+Iterable&lt;CSVRecord&gt; records = CSVFormat.EXCEL.parse(in);
+for (CSVRecord record : records) {
   String lastName = record.get("Last Name");
   String firstName = record.get("First Name");
 }</source>


Reply via email to