Skip to content

Conversation

@fmbenhassine
Copy link
Contributor

This PR resolves BATCH-2696.

Copy link
Member

@mminella mminella left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we get a test that covers a delimited file but uses the default delimiter?

@fmbenhassine
Copy link
Contributor Author

Added test in 4da50ba to cover generating a delimited file with the default delimiter.

public FlatFileItemWriterBuilder<T> names(String[] names) {
this.names.addAll(Arrays.asList(names));
return this.parent;
}
Copy link
Member

@mminella mminella Aug 31, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice to have a vargs option as well...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I took the same approach as the FlatFileItemReaderBuilder to be consistent.

We can add this for both reader and writer builders in another step.

public FlatFileItemWriterBuilder<T> names(String[] names) {
this.names.addAll(Arrays.asList(names));
return this.parent;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice to have a vargs option as well...

@mminella
Copy link
Member

Rebased, squashed, and merged as e83ed1d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants