File tree 3 files changed +12
-1
lines changed
csv/src/main/java/com/fasterxml/jackson/dataformat/csv
3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -863,7 +863,7 @@ protected void _readHeaderLine() throws IOException {
863
863
}
864
864
// [dataformats-text#285]: Are we missing something?
865
865
int diff = schemaColumnCount - newColumnCount ;
866
- if (Feature .FAIL_ON_MISSING_HEADER_COLUMNS .enabledIn (_formatFeatures ) && diff > 0 ) {
866
+ if (( diff > 0 ) && Feature .FAIL_ON_MISSING_HEADER_COLUMNS .enabledIn (_formatFeatures )) {
867
867
Set <String > oldColumnNames = new LinkedHashSet <>();
868
868
_schema .getColumnNames (oldColumnNames );
869
869
oldColumnNames .removeAll (newSchema .getColumnNames ());
Original file line number Diff line number Diff line change @@ -214,7 +214,13 @@ Jim Talbut (Yaytay@github)
214
214
Simon Dean (msmsimondean@github)
215
215
* Requested #244 : (yaml) Add `YAMLGenerator.Feature.ALLOW_LONG_KEYS` to allow writing keys
216
216
longer than 128 characters (default)
217
+ (2.14.0 )
217
218
218
219
Shauni Arima (ShauniArima@github)
219
220
* Contributed #244 : (yaml) Add `YAMLGenerator.Feature.ALLOW_LONG_KEYS` to allow writing keys
220
221
longer than 128 characters (default)
222
+ (2.14.0 )
223
+
224
+ Matteo Giordano (malteo@github)
225
+ * Contributed fix for #352 : Disabling `CsvParser.Feature.FAIL_ON_MISSING_HEADER_COLUMNS` has no effect
226
+ (2.14.1 )
Original file line number Diff line number Diff line change @@ -14,6 +14,11 @@ Active Maintainers:
14
14
=== Releases ===
15
15
------------------------------------------------------------------------
16
16
17
+ 2.14.1 (not yet released)
18
+
19
+ #352 : Disabling `CsvParser.Feature.FAIL_ON_MISSING_HEADER_COLUMNS` has no effect
20
+ (fix contributed by Matteo G)
21
+
17
22
2.14.0 (05 -Nov-2022 )
18
23
19
24
#169 : (properties) Need a way to escape dots in property keys (add path separator configuration)
You can’t perform that action at this time.
0 commit comments