Skip to content

FlatFileItemReaderBuilder reports error "Only one LineTokenizer option may be configured" when none are. #3688

Closed
@mminella

Description

@mminella

At line 472 of the FlatFileItemReaderBuilder it validates that not multiple LineTokenizers implementations have been configured. However, if the user has not configured one (validatorValue == 0 on that line), they get the same message implying that multiple have been configured. This error message should not be thrown if validatorValue == 0. The case of no LineTokenizer being configured is already handled at line 487 of that class anyways.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions