aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin
diff options
context:
space:
mode:
authorMarcin Aman <marcin.aman@gmail.com>2021-02-16 21:15:02 +0100
committerGitHub <noreply@github.com>2021-02-16 21:15:02 +0100
commit1c78ecebfb6fc2b24c64c13f7e85218b01a7a69b (patch)
treecbd27431b6ac40f74ef6526861fa8b2543741b7a /plugins/base/src/main/kotlin
parent116179e26a60d1b98d842ff6decc6119062475ae (diff)
downloaddokka-1c78ecebfb6fc2b24c64c13f7e85218b01a7a69b.tar.gz
dokka-1c78ecebfb6fc2b24c64c13f7e85218b01a7a69b.tar.bz2
dokka-1c78ecebfb6fc2b24c64c13f7e85218b01a7a69b.zip
Fix displaying default java visibility (#1738)
Diffstat (limited to 'plugins/base/src/main/kotlin')
-rw-r--r--plugins/base/src/main/kotlin/transformers/documentables/DocumentableVisibilityFilterTransformer.kt1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/transformers/documentables/DocumentableVisibilityFilterTransformer.kt b/plugins/base/src/main/kotlin/transformers/documentables/DocumentableVisibilityFilterTransformer.kt
index 1bc7a533..8ec8c1af 100644
--- a/plugins/base/src/main/kotlin/transformers/documentables/DocumentableVisibilityFilterTransformer.kt
+++ b/plugins/base/src/main/kotlin/transformers/documentables/DocumentableVisibilityFilterTransformer.kt
@@ -20,7 +20,6 @@ class DocumentableVisibilityFilterTransformer(val context: DokkaContext) : PreMe
) {
fun Visibility.isAllowedInPackage(packageName: String?) = when (this) {
is JavaVisibility.Public,
- is JavaVisibility.Default,
is KotlinVisibility.Public -> true
else -> packageName != null
&& packageOptions.firstOrNull { Regex(it.matchingRegex).matches(packageName) }?.includeNonPublic