Skip to content

Commit 2d0cfe5

Browse files
committed
spotless.
1 parent 695137e commit 2d0cfe5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

plugin-maven/src/main/java/com/diffplug/spotless/maven/SpotlessApplyMojo.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import java.io.File;
1919
import java.io.IOException;
2020
import java.util.List;
21+
import java.util.Map;
2122

2223
import org.apache.maven.plugin.MojoExecutionException;
2324
import org.apache.maven.plugins.annotations.Mojo;
@@ -83,8 +84,8 @@ protected void process(String name, Iterable<File> files, Formatter formatter, U
8384
// In apply mode, any lints should fail the build (matching Gradle behavior)
8485
if (hasUnsuppressedLints) {
8586
int lintCount = lintState.getLintsByStep(formatter).values().stream()
86-
.mapToInt(List::size)
87-
.sum();
87+
.mapToInt(List::size)
88+
.sum();
8889
StringBuilder message = new StringBuilder();
8990
message.append("There were ").append(lintCount).append(" lint error(s), they must be fixed or suppressed.");
9091

0 commit comments

Comments
 (0)