Skip to content

Commit 214e4ac

Browse files
committed
Spotless
1 parent 5011e39 commit 214e4ac

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1428,9 +1428,11 @@ private void compile(final JavaCompiler compiler, final Options configuration) t
14281428
.append(compileScope.projectScope().id())
14291429
.append(" classes.");
14301430
if (executor.listener instanceof DiagnosticLogger diagnostic) {
1431-
diagnostic.firstError(failureCause).ifPresent((c) -> message.append(System.lineSeparator())
1432-
.append("The first error is: ")
1433-
.append(c));
1431+
diagnostic
1432+
.firstError(failureCause)
1433+
.ifPresent((c) -> message.append(System.lineSeparator())
1434+
.append("The first error is: ")
1435+
.append(c));
14341436
}
14351437
var failure = new CompilationFailureException(message.toString(), failureCause);
14361438
if (suppressed != null) {

0 commit comments

Comments
 (0)