Skip to content

Commit c8d5cee

Browse files
committed
Fix the name of GJF steps.
1 parent 2264f11 commit c8d5cee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/main/java/com/diffplug/spotless/java/GoogleJavaFormatStep.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,12 @@ private static FormatterStep createInternally(String name, String groupArtifact,
105105

106106
GoogleJavaFormatStep step = new GoogleJavaFormatStep(JarState.promise(() -> JarState.from(groupArtifact + ":" + version, provisioner)), version, style, reflowLongStrings, reorderImports, formatJavadoc);
107107
if (removeImports) {
108-
return FormatterStep.create(NAME,
108+
return FormatterStep.create(name,
109109
step,
110110
GoogleJavaFormatStep::equalityState,
111111
State::createRemoveUnusedImportsOnly);
112112
} else {
113-
return FormatterStep.create(NAME,
113+
return FormatterStep.create(name,
114114
step,
115115
GoogleJavaFormatStep::equalityState,
116116
State::createFormat);

0 commit comments

Comments
 (0)