Skip to content

Commit ee7335a

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

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
@@ -38,7 +38,7 @@
3838
* </p>
3939
* You can extend a format through a builder. For example, to extend the Excel format with columns header, you write:
4040
* </p>
41-
* <pre>CSVFormat.EXCEL.toBuilder().withHeader(&quot;Col1&quot;, &quot;Col2&quot;, &quot;Col3&quot;).build();</pre>
41+
* <pre>CSVFormat.EXCEL.toBuilder().withHeader(&quot;Col1&quot;, &quot;Col2&quot;, &quot;Col3&quot;);</pre>
4242
* <p>
4343
* You can parse through a format. For example, to parse an Excel file with columns header, you write:
4444
* </p>
@@ -108,7 +108,7 @@ static boolean isLineBreak(final Character c) {
108108
* For example for parsing or generating a CSV file on a French system the following format will be used:
109109
*
110110
* <pre>
111-
* CSVFormat fmt = CSVFormat.newBuilder(EXCEL).withDelimiter(';').build();
111+
* CSVFormat fmt = CSVFormat.newBuilder(EXCEL).withDelimiter(';');
112112
* </pre>
113113
* Settings are:
114114
* <ul>

0 commit comments

Comments
 (0)