Skip to content

Commit e4a6faf

Browse files
committed
Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1398181 13f79535-47bb-0310-9956-ffa450edef68
1 parent 8aa0259 commit e4a6faf

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/main/java/org/apache/commons/csv/package-info.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,10 @@
6969
* <blockquote><pre>
7070
* Reader in = new StringReader("a,b,c");
7171
* for (CSVRecord record : CSVFormat.DEFAULT.parse(in)) {
72-
* for (int i = 0; i &lt; record.length; i++) {
73-
* System.out.println("value " + i + "=" + record.get(i));
72+
* for (String field : record) {
73+
* System.out.print("\"" + field + "\", ");
7474
* }
75+
* System.out.println();
7576
* }
7677
* </pre></blockquote>
7778
*/

0 commit comments

Comments
 (0)