AryanRG opened a new pull request, #638:
URL: https://github.com/apache/commons-csv/pull/638

   ## Summary
   `CSVRecord.isConsistent()` used the header-name map size as the header 
width. Duplicate or empty header names can collapse in that map, making a 
record with all columns appear inconsistent. Keep the parsed header column 
count separately and use it for consistency checks.
   
   Adds regression coverage for duplicate and empty names, plus a CSV-330 
changes entry.
   
   Jira: https://issues.apache.org/jira/browse/CSV-330
   
   ## Validation
   - `mvn` — success on the final patch (JDK 27 on macOS).
   - Focused `CSVRecordTest` — 35 passing cases.
   
   AI assistance used (Kiro) for code and test drafting and independent patch 
review.


-- 
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