Allow whitespace characters as delimiters in FlatFileItemReader

Resolves BATCH-2738
This commit is contained in:
Mahmoud Ben Hassine
2018-08-09 12:16:36 +02:00
committed by Michael Minella
parent 909231c577
commit 80d1a24f52
2 changed files with 40 additions and 1 deletions

View File

@@ -628,7 +628,7 @@ public class FlatFileItemReaderBuilder<T> {
tokenizer.setNames(this.names.toArray(new String[this.names.size()]));
if(StringUtils.hasText(this.delimiter)) {
if(StringUtils.hasLength(this.delimiter)) {
tokenizer.setDelimiter(this.delimiter);
}