Skip to content

Commit 8fa4cc6

Browse files
committed
[ci] Additional formatting
1 parent de8ecf4 commit 8fa4cc6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsMojo.groovy

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,10 +527,13 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
527527

528528
boolean canGenerate = false
529529
log.debug('****** SpotBugsMojo canGenerateReport *******')
530+
530531
Predicate<Path> containsSource = { Path path ->
531532
String fileName = path.toFile().name
532-
return fileName.endsWith(SpotBugsInfo.CLASS_SUFFIX) || (nested && (fileName.endsWith(SpotBugsInfo.JAR_SUFFIX) || fileName.endsWith(SpotBugsInfo.ZIP_SUFFIX)))
533+
return fileName.endsWith(SpotBugsInfo.CLASS_SUFFIX) ||
534+
(nested && (fileName.endsWith(SpotBugsInfo.JAR_SUFFIX) || fileName.endsWith(SpotBugsInfo.ZIP_SUFFIX)))
533535
}
536+
534537
if (classFilesDirectory.exists()) {
535538
try {
536539
canGenerate = Files.walk(classFilesDirectory.toPath())

0 commit comments

Comments
 (0)