Skip to content

Allow whitespace characters as delimiters in FlatFileItemReader #626

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

fmbenhassine
Copy link
Contributor

This PR resolves BATCH-2738

public void testSimpleDelimitedWithTabCharacter() throws Exception {
FlatFileItemReader<Foo> reader = new FlatFileItemReaderBuilder<Foo>()
.name("fooReader")
.resource(getResource("1 2 3"))
Copy link
Member

@mminella mminella Aug 14, 2018

Choose a reason for hiding this comment

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

Please replace the tab with \t so that it is explicit.

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 agree! Fixed.

@dieegorenan
Copy link

Got the same issue with \t.

@fmbenhassine
Copy link
Contributor Author

@dieegorenan Do you mean you still have an issue using \t as delimiter even with the fix in this PR?

@dieegorenan
Copy link

@benas I meant that this will solve my issue as well. Thank you for the PR. 🙂

@mminella
Copy link
Member

LGTM. Rebased and merged as 80d1a24

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.

3 participants