Skip to content

fix: prevent forced wrapping of annotated enums#928

Merged
jtkiesel merged 1 commit into
jhipster:mainfrom
jtkiesel:fix/enum-annotations
Jun 9, 2026
Merged

fix: prevent forced wrapping of annotated enums#928
jtkiesel merged 1 commit into
jhipster:mainfrom
jtkiesel:fix/enum-annotations

Conversation

@jtkiesel

@jtkiesel jtkiesel commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

What changed with this PR:

Enum declarations with annotations no longer forcefully wrap their headers.

Example

Input

@A
enum B
  implements C {}

Output

@A
enum B implements C {}

Relative issues or prs:

Closes #919

@jtkiesel jtkiesel merged commit fa46f2e into jhipster:main Jun 9, 2026
6 checks passed
@jtkiesel jtkiesel deleted the fix/enum-annotations branch June 9, 2026 22:09
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.

[2.9.7] Regression splitting an enum after an annotation

1 participant