Skip to content

Commit

Permalink
Fix the name of GJF steps.
Browse files Browse the repository at this point in the history
  • Loading branch information
nedtwigg committed Jan 3, 2025
1 parent 2264f11 commit c8d5cee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ private static FormatterStep createInternally(String name, String groupArtifact,

GoogleJavaFormatStep step = new GoogleJavaFormatStep(JarState.promise(() -> JarState.from(groupArtifact + ":" + version, provisioner)), version, style, reflowLongStrings, reorderImports, formatJavadoc);
if (removeImports) {
return FormatterStep.create(NAME,
return FormatterStep.create(name,
step,
GoogleJavaFormatStep::equalityState,
State::createRemoveUnusedImportsOnly);
} else {
return FormatterStep.create(NAME,
return FormatterStep.create(name,
step,
GoogleJavaFormatStep::equalityState,
State::createFormat);
Expand Down

0 comments on commit c8d5cee

Please sign in to comment.