Skip to content
This repository was archived by the owner on Jan 22, 2019. It is now read-only.

Commit f0e663e

Browse files
committed
add release notes wrt #131
1 parent 236e643 commit f0e663e

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

release-notes/VERSION

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ Project: jackson-dataformat-csv
44
=== Releases ===
55
------------------------------------------------------------------------
66

7+
2.9.0 (not yet released)
8+
9+
#130: Add fluent addColumns operation to CsvSchema.Builder
10+
(contributed by Peter A)
11+
12+
2.8.2 (not yet released)
13+
714
2.8.1 (20-Jul-2016)
815

916
No changes since 2.8.0.

src/main/java/com/fasterxml/jackson/dataformat/csv/CsvSchema.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,12 +466,20 @@ public Builder addColumn(Column c) {
466466
_columns.add(c);
467467
return this;
468468
}
469+
470+
/**
471+
* @since 2.9
472+
*/
469473
public Builder addColumns(Iterable<Column> cs) {
470474
for (Column c : cs) {
471475
_columns.add(c);
472476
}
473477
return this;
474478
}
479+
480+
/**
481+
* @since 2.9
482+
*/
475483
public Builder addColumns(Iterable<String> names, ColumnType type) {
476484
Builder result = this;
477485
for (String name : names) {

0 commit comments

Comments
 (0)