We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5662619 commit 2f1664eCopy full SHA for 2f1664e
plugin-gradle/src/main/java/com/diffplug/gradle/spotless/FormatExtension.java
@@ -29,6 +29,7 @@
29
import java.util.stream.Stream;
30
31
import javax.annotation.Nullable;
32
+
33
import org.gradle.api.GradleException;
34
import org.gradle.api.Project;
35
import org.gradle.api.file.FileCollection;
@@ -208,8 +209,7 @@ public void addStep(FormatterStep newStep) {
208
209
}
210
211
/** Returns the existing step with the given name, if any. */
- protected @Nullable
212
- FormatterStep getExistingStep(String stepName) {
+ protected @Nullable FormatterStep getExistingStep(String stepName) {
213
return steps.stream() //
214
.filter(step -> stepName.equals(step.getName())) //
215
.findFirst() //
0 commit comments