Multiline comment in JDL becomes a single-line comment in the generated file #22441
Closed
1 task done
Labels
$$ bug-bounty $$
https://www.jhipster.tech/bug-bounties/
theme: JDL
$100
https://www.jhipster.tech/bug-bounties/
Milestone
Overview of the issue
A multi-line javadoc comment on an entity in the JDL gets concatenated into a single-line javadoc comment in the generated java code. The break between lines has been translated to a literal
\n
in the generated code.becomes...
Motivation
Concatenating to a single line breaks long-line rules in lint, is less readable, and the added literal
\n
seems just plain wrong.Reproduce the error
Create a multiline javadoc comment on an entity, then generate it.
Related issues
Seems like this (old, closed) issue might be related.
JHipster Version(s)
generator-jhipster@7.9.3
The text was updated successfully, but these errors were encountered: