You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2013/03/23 13:01:25 UTC

svn commit: r1460134 - /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java

Author: britter
Date: Sat Mar 23 12:01:25 2013
New Revision: 1460134

URL: http://svn.apache.org/r1460134
Log:
Clarify JavaDoc for builder factory method, also remove trailing white spaces

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=1460134&r1=1460133&r2=1460134&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 Sat Mar 23 12:01:25 2013
@@ -141,7 +141,7 @@ public class CSVFormat implements Serial
      *
      * @param format
      *            The format to use values from
-     * @return a new CSVFormatBuilder 
+     * @return a new CSVFormatBuilder
      */
     public static CSVFormatBuilder newBuilder(final CSVFormat format) {
         return new CSVFormatBuilder(format);
@@ -155,6 +155,9 @@ public class CSVFormat implements Serial
      * <li>withEmptyLinesIgnored(true)</li>
      * <li>withLineSeparator(CRLF)</li>
      * </ul>
+     *
+     * Shortcut for {@code CSVFormat.newBuilder(CSVFormat.DEFAULT)}
+     *
      * @return a standard comma separated format builder, as for {@link #RFC4180} but allowing empty lines.
      */
     public static CSVFormatBuilder newBuilder() {
@@ -333,7 +336,7 @@ public class CSVFormat implements Serial
      *
      * @param in
      *            the input stream
-     * @throws IOException 
+     * @throws IOException
      */
     public Iterable<CSVRecord> parse(final Reader in) throws IOException {
         return new CSVParser(in, this);
@@ -579,7 +582,7 @@ public class CSVFormat implements Serial
 
         /**
          * Builds a new CSVFormat configured with the values from this builder.
-         * 
+         *
          * @return a new CSVFormat
          */
         public CSVFormat build() {