Skip to content

Commit f69ddb3

Browse files
committed
[CSV-99] Revert Builder implementation in CSVFormat. Update Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1509216 13f79535-47bb-0310-9956-ffa450edef68
1 parent fcc0d15 commit f69ddb3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/org/apache/commons/csv/CSVFormat.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@
4040
* </p>
4141
* You can extend a format through a builder. For example, to extend the Excel format with columns header, you write:
4242
* </p>
43-
* <pre>CSVFormat.EXCEL.toBuilder().withHeader(&quot;Col1&quot;, &quot;Col2&quot;, &quot;Col3&quot;);</pre>
43+
* <pre>CSVFormat.EXCEL.withHeader(&quot;Col1&quot;, &quot;Col2&quot;, &quot;Col3&quot;);</pre>
4444
* <p>
4545
* You can parse through a format. For example, to parse an Excel file with columns header, you write:
4646
* </p>
4747
* <pre>Reader in = ...;
48-
*CSVFormat.EXCEL.toBuilder().withHeader(&quot;Col1&quot;, &quot;Col2&quot;, &quot;Col3&quot;).parse(in);</pre>
48+
*CSVFormat.EXCEL.withHeader(&quot;Col1&quot;, &quot;Col2&quot;, &quot;Col3&quot;).parse(in);</pre>
4949
* <p>
5050
*
5151
* @version $Id$

0 commit comments

Comments
 (0)