This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-csv.git

commit 1ac1eec07747101c0dd9b6a7a75ba114de5925c6
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Fri Mar 14 15:47:15 2025 -0400

    Javadoc
---
 src/main/java/org/apache/commons/csv/CSVParser.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/commons/csv/CSVParser.java 
b/src/main/java/org/apache/commons/csv/CSVParser.java
index 954af79c..6163f2ed 100644
--- a/src/main/java/org/apache/commons/csv/CSVParser.java
+++ b/src/main/java/org/apache/commons/csv/CSVParser.java
@@ -184,7 +184,7 @@ public final class CSVParser implements 
Iterable<CSVRecord>, Closeable {
         /**
          * Sets the CSV format. A copy of the given format is kept.
          *
-         * @param format the CSV format, null is equivalent to {@link 
CSVFormat#DEFAULT}.
+         * @param format the CSV format, {@code null} resets to {@link 
CSVFormat#DEFAULT}.
          * @return this instance.
          */
         public Builder setFormat(final CSVFormat format) {
@@ -385,7 +385,7 @@ public final class CSVParser implements 
Iterable<CSVRecord>, Closeable {
      * @param reader
      *            a Reader containing CSV-formatted input. Must not be null.
      * @param format
-     *            the CSVFormat used for CSV parsing. Must not be null.
+     *            the CSVFormat used for CSV parsing, {@code null} uses {@link 
CSVFormat#DEFAULT}.
      * @return a new CSVParser configured with the given reader and format.
      * @throws IllegalArgumentException
      *             If the parameters of the format are inconsistent or if 
either reader or format are null.

Reply via email to