Skip to content

Preserve empty CSV header positions - #20

Open
PHJ2000 wants to merge 1 commit into
j256:mainfrom
PHJ2000:fix-empty-header-positions
Open

PHJ2000 wants to merge 1 commit into
j256:mainfrom
PHJ2000:fix-empty-header-positions

Conversation

@PHJ2000

@PHJ2000 PHJ2000 commented Oct 5, 2026

Copy link
Copy Markdown

Keep empty header cells so later column names retain their CSV positions. Avoid adding a phantom final cell when the header does not end with a separator.

Tests cover unquoted and quoted empty headers, leading and trailing empty cells, and an ordinary header without a trailing separator.

Validation: mvn -Dgpg.skip=true verify on Java 11 passed (136 tests, no failures, errors or skips). Only artifact signing was skipped.

Fixes #19.

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.

Empty header cells shift subsequent CSV column mappings

1 participant