aboutsummaryrefslogtreecommitdiff
path: root/plugins/base
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-08-12 08:31:19 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-08-12 09:38:06 +0200
commit6bcff75d3718b9ef0a4feb803ceff97cde3644f1 (patch)
tree8776a95db1f00dc7e805748f334047851215f139 /plugins/base
parentc5ee56419572b239233ffb58382408ef44203267 (diff)
downloaddokka-6bcff75d3718b9ef0a4feb803ceff97cde3644f1.tar.gz
dokka-6bcff75d3718b9ef0a4feb803ceff97cde3644f1.tar.bz2
dokka-6bcff75d3718b9ef0a4feb803ceff97cde3644f1.zip
Remove unused parameter in ReportUndocumentedTransformer
Diffstat (limited to 'plugins/base')
-rw-r--r--plugins/base/src/main/kotlin/transformers/documentables/ReportUndocumentedTransformer.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/base/src/main/kotlin/transformers/documentables/ReportUndocumentedTransformer.kt b/plugins/base/src/main/kotlin/transformers/documentables/ReportUndocumentedTransformer.kt
index 2ebd4c62..7ce21813 100644
--- a/plugins/base/src/main/kotlin/transformers/documentables/ReportUndocumentedTransformer.kt
+++ b/plugins/base/src/main/kotlin/transformers/documentables/ReportUndocumentedTransformer.kt
@@ -19,14 +19,14 @@ internal class ReportUndocumentedTransformer : DocumentableTransformer {
private fun invoke(documentable: Documentable, context: DokkaContext) {
documentable.sourceSets.forEach { sourceSet ->
- if (shouldBeReportedIfNotDocumented(documentable, sourceSet, context)) {
+ if (shouldBeReportedIfNotDocumented(documentable, sourceSet)) {
reportIfUndocumented(context, documentable, sourceSet)
}
}
}
private fun shouldBeReportedIfNotDocumented(
- documentable: Documentable, sourceSet: DokkaSourceSet, context: DokkaContext
+ documentable: Documentable, sourceSet: DokkaSourceSet
): Boolean {
val packageOptionsOrNull = packageOptionsOrNull(sourceSet, documentable)