Author: ggregory
Date: Thu Aug  1 13:05:25 2013
New Revision: 1509216

URL: http://svn.apache.org/r1509216
Log:
[CSV-99] Revert Builder implementation in CSVFormat. Update Javadoc.

Modified:
    commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java

Modified: 
commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java
URL: 
http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java?rev=1509216&r1=1509215&r2=1509216&view=diff
==============================================================================
--- 
commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java 
(original)
+++ 
commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java 
Thu Aug  1 13:05:25 2013
@@ -40,12 +40,12 @@ import java.util.Set;
  * </p>
  * You can extend a format through a builder. For example, to extend the Excel 
format with columns header, you write:
  * </p>
- * <pre>CSVFormat.EXCEL.toBuilder().withHeader(&quot;Col1&quot;, 
&quot;Col2&quot;, &quot;Col3&quot;);</pre>
+ * <pre>CSVFormat.EXCEL.withHeader(&quot;Col1&quot;, &quot;Col2&quot;, 
&quot;Col3&quot;);</pre>
  * <p>
  * You can parse through a format. For example, to parse an Excel file with 
columns header, you write:
  * </p>
  * <pre>Reader in = ...;
- *CSVFormat.EXCEL.toBuilder().withHeader(&quot;Col1&quot;, &quot;Col2&quot;, 
&quot;Col3&quot;).parse(in);</pre>
+ *CSVFormat.EXCEL.withHeader(&quot;Col1&quot;, &quot;Col2&quot;, 
&quot;Col3&quot;).parse(in);</pre>
  * <p>
  *
  * @version $Id$


Reply via email to