Skip to content

Commit

Permalink
remove no-op parallelMapNotNull { it } (#3486)
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-enko committed Feb 6, 2024
1 parent 5978f46 commit 1e8c21f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ internal class DefaultPsiToDocumentableTranslator : AsyncSourceToDocumentableTra

DModule(
name = context.configuration.moduleName,
packages = psiFiles.parallelMapNotNull { it }.groupBy { it.packageName }.toList()
packages = psiFiles.groupBy { it.packageName }.toList()
.parallelMap { (packageName: String, psiFiles: List<PsiJavaFile>) ->
docParser.parsePackage(packageName, psiFiles)
},
Expand Down

0 comments on commit 1e8c21f

Please sign in to comment.