Skip to content

Commit 6b1eaad

Browse files
committed
Javadoc fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1458636 13f79535-47bb-0310-9956-ffa450edef68
1 parent 0956f6e commit 6b1eaad

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/main/java/org/apache/commons/csv/CSVFormat.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,11 @@ public class CSVFormat implements Serializable {
125125
.build();
126126

127127
/**
128-
* Creates a new CSV format builds.
128+
* Creates a new CSV format builder.
129129
*
130130
* @param delimiter
131131
* the char used for value separation, must not be a line break character
132+
* @return a new CSV format builder.
132133
* @throws IllegalArgumentException if the delimiter is a line break character
133134
*/
134135
public static CSVFormatBuilder newBuilder(final char delimiter) {
@@ -140,13 +141,14 @@ public static CSVFormatBuilder newBuilder(final CSVFormat format) {
140141
}
141142

142143
/**
143-
* Standard comma separated format, as for {@link #RFC4180} but allowing blank lines.
144+
* Creates a standard comma separated format builder, as for {@link #RFC4180} but allowing empty lines.
144145
* <ul>
145146
* <li>withDelimiter(',')</li>
146147
* <li>withQuoteChar('"')</li>
147148
* <li>withEmptyLinesIgnored(true)</li>
148149
* <li>withLineSeparator(CRLF)</li>
149150
* </ul>
151+
* @return a standard comma separated format builder, as for {@link #RFC4180} but allowing empty lines.
150152
*/
151153
public static CSVFormatBuilder newBuilder() {
152154
return new CSVFormatBuilder(COMMA, DOUBLE_QUOTE_CHAR, null, null, null, false, true, CRLF, null);

0 commit comments

Comments
 (0)