Croway opened a new pull request, #30119:
URL: https://github.com/apache/camel/pull/30119

   Backport of #30005 to camel-4.18.x. It replaces #30026, which does not 
compile on this branch.
   
   Cherry-pick (`git cherry-pick -x`) of 5caacce824e8 (CAMEL-26975: camel-csv - 
an empty header is handled like no header). An empty or blank header became one 
fixed column named `""`, so Map rows were marshalled as empty lines. 
`CsvDataFormat` now uses the header of the format, as its Javadoc says.
   
   Adjustments:
   - `CsvEmptyHeaderTest` imports 
`org.apache.camel.test.junit5.CamelTestSupport` instead of 
`org.apache.camel.test.junit6.CamelTestSupport`: on this branch the camel-csv 
tests use camel-test-junit5 (`camel-test-spring-junit5` in the module pom, and 
the other tests of the module import the junit5 classes). This one line is the 
only difference from #30026.
   - The `Co-Authored-By` trailer of the main commit is not carried over. 
`CsvDataFormat` applies unchanged. #30005 has no upgrade-guide hunk.
   
   Tests, on camel-4.18.x with JDK 25 (`mvnd test -pl components/camel-csv -am 
-Dtest='org/apache/camel/dataformat/csv/**/*Test'`): all 30 test classes of 
camel-csv, 94 tests, 0 failures. `CsvEmptyHeaderTest`: 4 tests pass.
   
   _Claude Code on behalf of Federico Mariani_
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to