Skip to content

Commit 1ac1eec

Browse files
committed
Javadoc
1 parent a3b4e89 commit 1ac1eec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public Builder setCharacterOffset(final long characterOffset) {
184184
/**
185185
* Sets the CSV format. A copy of the given format is kept.
186186
*
187-
* @param format the CSV format, null is equivalent to {@link CSVFormat#DEFAULT}.
187+
* @param format the CSV format, {@code null} resets to {@link CSVFormat#DEFAULT}.
188188
* @return this instance.
189189
*/
190190
public Builder setFormat(final CSVFormat format) {
@@ -385,7 +385,7 @@ public static CSVParser parse(final Path path, final Charset charset, final CSVF
385385
* @param reader
386386
* a Reader containing CSV-formatted input. Must not be null.
387387
* @param format
388-
* the CSVFormat used for CSV parsing. Must not be null.
388+
* the CSVFormat used for CSV parsing, {@code null} uses {@link CSVFormat#DEFAULT}.
389389
* @return a new CSVParser configured with the given reader and format.
390390
* @throws IllegalArgumentException
391391
* If the parameters of the format are inconsistent or if either reader or format are null.

0 commit comments

Comments
 (0)