diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java b/src/main/java/org/apache/commons/csv/CSVFormat.java index 640a7d46..dbd9e6e2 100644 --- a/src/main/java/org/apache/commons/csv/CSVFormat.java +++ b/src/main/java/org/apache/commons/csv/CSVFormat.java @@ -38,7 +38,7 @@ import java.util.Arrays; *

* You can extend a format through a builder. For example, to extend the Excel format with columns header, you write: *

- *
CSVFormat.EXCEL.toBuilder().withHeader("Col1", "Col2", "Col3").build();
+ *
CSVFormat.EXCEL.toBuilder().withHeader("Col1", "Col2", "Col3");
*

* You can parse through a format. For example, to parse an Excel file with columns header, you write: *

@@ -108,7 +108,7 @@ public class CSVFormat implements Serializable { * For example for parsing or generating a CSV file on a French system the following format will be used: * *
-     * CSVFormat fmt = CSVFormat.newBuilder(EXCEL).withDelimiter(';').build();
+     * CSVFormat fmt = CSVFormat.newBuilder(EXCEL).withDelimiter(';');
      * 
* Settings are: *