From 959b3afb755d18d24e1090016ff8b38ff1d012e1 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Wed, 13 Nov 2024 14:40:49 +0100 Subject: [PATCH] style(maven): Slightly reformat code to match similar code Signed-off-by: Sebastian Schuberth --- plugins/package-managers/maven/src/main/kotlin/Maven.kt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/plugins/package-managers/maven/src/main/kotlin/Maven.kt b/plugins/package-managers/maven/src/main/kotlin/Maven.kt index a7c81b89a31e4..781331663c3b8 100644 --- a/plugins/package-managers/maven/src/main/kotlin/Maven.kt +++ b/plugins/package-managers/maven/src/main/kotlin/Maven.kt @@ -121,10 +121,11 @@ class Maven( version = mavenProject.version ) - projectBuildingResult.dependencies.filterNot { excludes.isScopeExcluded(it.dependency.scope) } - .forEach { node -> - graphBuilder.addDependency(DependencyGraph.qualifyScope(projectId, node.dependency.scope), node) - } + projectBuildingResult.dependencies.filterNot { + excludes.isScopeExcluded(it.dependency.scope) + }.forEach { node -> + graphBuilder.addDependency(DependencyGraph.qualifyScope(projectId, node.dependency.scope), node) + } val declaredLicenses = parseLicenses(mavenProject) val declaredLicensesProcessed = processDeclaredLicenses(declaredLicenses)