From ee7335a2fc5a95dabc73d779699a973a5b828213 Mon Sep 17 00:00:00 2001
From: "Gary D. Gregory"
Date: Tue, 30 Jul 2013 14:44:48 +0000
Subject: [PATCH] [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
---
src/main/java/org/apache/commons/csv/CSVFormat.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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:
*