Skip to content

fix: inline single simple type arguments#929

Merged
jtkiesel merged 1 commit into
jhipster:mainfrom
jtkiesel:fix/inline-single-simple-type-arguments
Jun 10, 2026
Merged

fix: inline single simple type arguments#929
jtkiesel merged 1 commit into
jhipster:mainfrom
jtkiesel:fix/inline-single-simple-type-arguments

Conversation

@jtkiesel

Copy link
Copy Markdown
Contributor

What changed with this PR:

Type arguments/parameters that are singular and simple are no longer allowed to break.

Example

Input

a()
  .b()
  .<
    Cccccccccc
  >dddddddddd("eeeeeeeeee", "ffffffffff", "gggggggggg", "hhhhhhhhhh");

a()
  .b()
  .<
    Cccccccccccccccccccccccccccccccccccccccc
  >dddddddddddddddddddddddddddddddddddddddd("eeeeeeeeee");

Output

a()
  .b()
  .<Cccccccccc>dddddddddd(
    "eeeeeeeeee",
    "ffffffffff",
    "gggggggggg",
    "hhhhhhhhhh"
  );

a()
  .b()
  .<Cccccccccccccccccccccccccccccccccccccccc>dddddddddddddddddddddddddddddddddddddddd(
    "eeeeeeeeee"
  );

Relative issues or prs:

Closes #920

@jtkiesel jtkiesel force-pushed the fix/inline-single-simple-type-arguments branch from 05fede5 to c64b635 Compare June 10, 2026 05:35
@jtkiesel jtkiesel merged commit 334a125 into jhipster:main Jun 10, 2026
6 checks passed
@jtkiesel jtkiesel deleted the fix/inline-single-simple-type-arguments branch June 10, 2026 05:54
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] Badly formatting a method with a generic arg

1 participant