You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<actiontype="update"dev="ggregory"due-to="Gary Gregory">Bump commons-io:commons-io: from 2.11.0 to 2.13.0.</action>
53
-
<actiontype="update"dev="ggregory"due-to="Gary Gregory">Bump commons-parent from 57 to 60.</action>
53
+
<actiontype="update"dev="ggregory"due-to="Gary Gregory">Bump commons-parent from 57 to 61.</action>
54
54
<actiontype="update"dev="ggregory"due-to="Dependabot">Bump h2 from 2.1.214 to 2.2.220 #333.</action>
55
55
<actiontype="update"dev="ggregory"due-to="Gary Gregory">Bump commons-lang3 from 3.12.0 to 3.13.0.</action>
56
+
<actiontype="update"dev="ggregory"due-to="Buddhi De Silva, Michael Osipov, Gary Gregory">Update exception message in CSVRecord#getNextRecord() #348.</action>
56
57
</release>
57
58
<releaseversion="1.10.0"date="2023-01-28"description="Feature and bug fix release (Java 8)">
* Excel file format (using a comma as the value delimiter). Note that the actual value delimiter used by Excel is localedependent, it might be necessary
913
-
* to customize this format to accommodate to your regional settings.
912
+
* Excel file format (using a comma as the value delimiter). Note that the actual value delimiter used by Excel is locale-dependent, it might be necessary
913
+
* to customize this format to accommodate your regional settings.
914
914
*
915
915
* <p>
916
916
* For example for parsing or generating a CSV file on a French system the following format will be used:
@@ -949,7 +949,7 @@ public CSVFormat getFormat() {
949
949
* Default Informix CSV UNLOAD format used by the {@code UNLOAD TO file_name} operation.
950
950
*
951
951
* <p>
952
-
* This is a comma-delimited format with a LF character as the line separator. Values are not quoted and special characters are escaped with {@code '\'}.
952
+
* This is a comma-delimited format with an LF character as the line separator. Values are not quoted and special characters are escaped with {@code '\'}.
953
953
* The default NULL string is {@code "\\N"}.
954
954
* </p>
955
955
*
@@ -981,7 +981,7 @@ public CSVFormat getFormat() {
981
981
* Default Informix CSV UNLOAD format used by the {@code UNLOAD TO file_name} operation (escaping is disabled.)
982
982
*
983
983
* <p>
984
-
* This is a comma-delimited format with a LF character as the line separator. Values are not quoted and special characters are escaped with {@code '\'}.
984
+
* This is a comma-delimited format with an LF character as the line separator. Values are not quoted and special characters are escaped with {@code '\'}.
985
985
* The default NULL string is {@code "\\N"}.
986
986
* </p>
987
987
*
@@ -1084,7 +1084,7 @@ public CSVFormat getFormat() {
1084
1084
* Default MySQL format used by the {@code SELECT INTO OUTFILE} and {@code LOAD DATA INFILE} operations.
1085
1085
*
1086
1086
* <p>
1087
-
* This is a tab-delimited format with a LF character as the line separator. Values are not quoted and special
1087
+
* This is a tab-delimited format with an LF character as the line separator. Values are not quoted and special
1088
1088
* characters are escaped with {@code '\'}. The default NULL string is {@code "\\N"}.
1089
1089
* </p>
1090
1090
*
@@ -1121,7 +1121,7 @@ public CSVFormat getFormat() {
1121
1121
* Default Oracle format used by the SQL*Loader utility.
1122
1122
*
1123
1123
* <p>
1124
-
* This is a comma-delimited format with the system line separator character as the record separator.Values are
1124
+
* This is a comma-delimited format with the system line separator character as the record separator.Values are
1125
1125
* double quoted when needed and special characters are escaped with {@code '"'}. The default NULL string is
1126
1126
* {@code ""}. Values are trimmed.
1127
1127
* </p>
@@ -1161,7 +1161,7 @@ public CSVFormat getFormat() {
1161
1161
* Default PostgreSQL CSV format used by the {@code COPY} operation.
1162
1162
*
1163
1163
* <p>
1164
-
* This is a comma-delimited format with a LF character as the line separator. Values are double quoted and special
1164
+
* This is a comma-delimited format with an LF character as the line separator. Values are double quoted and special
1165
1165
* characters are not escaped. The default NULL string is {@code ""}.
1166
1166
* </p>
1167
1167
*
@@ -1199,7 +1199,7 @@ public CSVFormat getFormat() {
1199
1199
* Default PostgreSQL text format used by the {@code COPY} operation.
1200
1200
*
1201
1201
* <p>
1202
-
* This is a tab-delimited format with a LF character as the line separator. Values are not quoted and special
1202
+
* This is a tab-delimited format with an LF character as the line separator. Values are not quoted and special
1203
1203
* characters are escaped with {@code '\\'}. The default NULL string is {@code "\\N"}.
1204
1204
* </p>
1205
1205
*
@@ -1890,7 +1890,7 @@ private boolean isDelimiter(final char ch, final CharSequence charSeq, final int
1890
1890
}
1891
1891
1892
1892
/**
1893
-
* Tests whether escape are being processed.
1893
+
* Tests whether escapes are being processed.
1894
1894
*
1895
1895
* @return {@code true} if escapes are processed
1896
1896
*/
@@ -1899,7 +1899,7 @@ public boolean isEscapeCharacterSet() {
1899
1899
}
1900
1900
1901
1901
/**
1902
-
* Tests whether a nullString has been defined.
1902
+
* Tests whether a null string has been defined.
1903
1903
*
1904
1904
* @return {@code true} if a nullString is defined
1905
1905
*/
@@ -2009,7 +2009,7 @@ private synchronized void print(final Object object, final CharSequence value, f
2009
2009
if (object == null) {
2010
2010
out.append(value);
2011
2011
} elseif (isQuoteCharacterSet()) {
2012
-
// the original object is needed so can check for Number
2012
+
// The original object is needed so can check for Number
* Prints the given {@code values} to {@code out} as a single record of delimiterseparated values followed by the record separator.
2089
+
* Prints the given {@code values} to {@code out} as a single record of delimiter-separated values followed by the record separator.
2090
2090
*
2091
2091
* <p>
2092
2092
* The values will be quoted if needed. Quotes and new-line characters will be escaped. This method adds the record separator to the output after printing
@@ -2241,7 +2241,7 @@ private void printWithQuotes(final Object object, final CharSequence charSeq, fi
2241
2241
return;
2242
2242
caseMINIMAL:
2243
2243
if (len <= 0) {
2244
-
// always quote an empty token that is the first
2244
+
// Always quote an empty token that is the first
2245
2245
// on the line, as it may be the only thing on the
2246
2246
// line. If it were not quoted in that case,
2247
2247
// an empty line has no tokens.
@@ -2279,7 +2279,7 @@ private void printWithQuotes(final Object object, final CharSequence charSeq, fi
2279
2279
}
2280
2280
2281
2281
if (!quote) {
2282
-
// no encapsulation needed - write out the original value
2282
+
// No encapsulation needed - write out the original value
2283
2283
out.append(charSeq, start, len);
2284
2284
return;
2285
2285
}
@@ -2289,12 +2289,12 @@ private void printWithQuotes(final Object object, final CharSequence charSeq, fi
2289
2289
}
2290
2290
2291
2291
if (!quote) {
2292
-
// no encapsulation needed - write out the original value
2292
+
// No encapsulation needed - write out the original value
2293
2293
out.append(charSeq, start, len);
2294
2294
return;
2295
2295
}
2296
2296
2297
-
// we hit something that needed encapsulation
2297
+
// We hit something that needed encapsulation
2298
2298
out.append(quoteChar);
2299
2299
2300
2300
// Pick up where we left off: pos should be positioned on the first character that caused
@@ -2310,13 +2310,13 @@ private void printWithQuotes(final Object object, final CharSequence charSeq, fi
2310
2310
pos++;
2311
2311
}
2312
2312
2313
-
// write the last segment
2313
+
// Write the last segment
2314
2314
out.append(charSeq, start, pos);
2315
2315
out.append(quoteChar);
2316
2316
}
2317
2317
2318
2318
/**
2319
-
* Always use quotes unless QuoteMode is NONE, so we not have to look ahead.
2319
+
* Always use quotes unless QuoteMode is NONE, so we do not have to look ahead.
* Verifies the validity and consistency of the attributes, and throws an {@link IllegalArgumentException} if necessary.
2419
2419
* <p>
2420
-
* Because an instance can be used for both writing an parsing, not all conditions can be tested here. For example allowMissingColumnNames is only used for
2421
-
* parsing, so it cannot be used here.
2420
+
* Because an instance can be used for both writing and parsing, not all conditions can be tested here. For example, allowMissingColumnNames is only used
2421
+
* for parsing, so it cannot be used here.
2422
2422
* </p>
2423
2423
*
2424
2424
* @throws IllegalArgumentException Throw when any attribute is invalid or inconsistent with other attributes.
@@ -2570,7 +2570,7 @@ public CSVFormat withCommentMarker(final Character commentMarker) {
2570
2570
* Builds a new {@code CSVFormat} with the delimiter of the format set to the specified character.
2571
2571
*
2572
2572
* @param delimiter the delimiter character
2573
-
* @return A new CSVFormat that is equal to this with the specified character as delimiter
2573
+
* @return A new CSVFormat that is equal to this with the specified character as a delimiter
2574
2574
* @throws IllegalArgumentException thrown if the specified character is a line break
2575
2575
* @deprecated Use {@link Builder#setDelimiter(char)}
0 commit comments