gnodet opened a new pull request, #304:
URL: https://github.com/apache/cxf-xjc-utils/pull/304
## Summary
- When XSD `<documentation>` spans multiple indented lines, the generated
javadoc preserved the leading whitespace on continuation lines, producing
sloppy output
- Trim each line individually and skip blank lines, preserving intentional
spaces within lines
- Add unit tests for the new `trimLines` helper
Closes #6 — provides a cleaner alternative to the regex approach proposed
there.
### Before
```java
/**
* Multiline documentation of
* attribute
*/
```
### After
```java
/**
* Multiline documentation of
* attribute
*/
```
## Test plan
- [x] New unit tests for `trimLines` covering single-line, multiline, blank
lines, and internal space preservation
- [x] Existing integration tests pass (`mvn -B clean install`)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
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]