From 1ad1538aa7918ba356545355f62c9bb6ae85c792 Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Mon, 13 Jan 2025 09:51:11 -0500 Subject: [PATCH] Javadoc --- .../org/apache/commons/csv/CSVFormat.java | 142 +++++++++--------- 1 file changed, 70 insertions(+), 72 deletions(-) diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java b/src/main/java/org/apache/commons/csv/CSVFormat.java index 442777a69..e78f8bb2b 100644 --- a/src/main/java/org/apache/commons/csv/CSVFormat.java +++ b/src/main/java/org/apache/commons/csv/CSVFormat.java @@ -194,12 +194,12 @@ public static class Builder implements Supplier { * The {@link Builder} settings are: *

* * * @see Predefined#Default @@ -774,7 +774,7 @@ public Builder setQuote(final char quoteCharacter) { */ public Builder setQuote(final Character quoteCharacter) { if (isLineBreak(quoteCharacter)) { - throw new IllegalArgumentException("The quoteChar cannot be a line break"); + throw new IllegalArgumentException("The quoteCharacter cannot be a line break"); } this.quoteCharacter = quoteCharacter; return this; @@ -988,11 +988,11 @@ public CSVFormat getFormat() { * The {@link Builder} settings are: *

* * * @see Predefined#Default @@ -1016,14 +1016,14 @@ public CSVFormat getFormat() { * The {@link Builder} settings are the {@link #DEFAULT} with: *

* *

* Note: This is currently like {@link #RFC4180} plus {@link Builder#setAllowMissingColumnNames(boolean) Builder#setAllowMissingColumnNames(true)} and @@ -1054,10 +1054,10 @@ public CSVFormat getFormat() { * The {@link Builder} settings are the {@link #DEFAULT} with: *

* * * @see Predefined#MySQL @@ -1086,9 +1086,9 @@ public CSVFormat getFormat() { * The {@link Builder} settings are the {@link #DEFAULT} with: *

* * * @see Predefined#MySQL @@ -1124,11 +1124,10 @@ public CSVFormat getFormat() { * The {@link Builder} settings are the {@link #DEFAULT} with: *

* * * @see Predefined#MongoDBCsv @@ -1142,7 +1141,6 @@ public CSVFormat getFormat() { .setEscape(Constants.DOUBLE_QUOTE_CHAR) .setQuote(Constants.DOUBLE_QUOTE_CHAR) .setQuoteMode(QuoteMode.MINIMAL) - .setSkipHeaderRecord(false) .get(); // @formatter:off @@ -1161,10 +1159,10 @@ public CSVFormat getFormat() { * The {@link Builder} settings are the {@link #DEFAULT} with: *

* * @@ -1196,13 +1194,13 @@ public CSVFormat getFormat() { * The {@link Builder} settings are the {@link #DEFAULT} with: *

* * * @see Predefined#MySQL @@ -1235,14 +1233,14 @@ public CSVFormat getFormat() { * The {@link Builder} settings are the {@link #DEFAULT} with: *

* * * @see Predefined#Oracle @@ -1275,13 +1273,13 @@ public CSVFormat getFormat() { * The {@link Builder} settings are the {@link #DEFAULT} with: *

* * * @see Predefined#MySQL @@ -1314,13 +1312,13 @@ public CSVFormat getFormat() { * The {@link Builder} settings are the {@link #DEFAULT} with: *

* * * @see Predefined#MySQL @@ -1348,10 +1346,10 @@ public CSVFormat getFormat() { * The {@link Builder} settings are the {@link #DEFAULT} with: *

* * * @see Predefined#RFC4180 @@ -1367,8 +1365,8 @@ public CSVFormat getFormat() { * The {@link Builder} settings are the {@link #DEFAULT} with: *

* * * @see Predefined#TDF