diff options
author | Marcin Aman <marcin.aman@gmail.com> | 2021-02-16 21:15:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-16 21:15:02 +0100 |
commit | 1c78ecebfb6fc2b24c64c13f7e85218b01a7a69b (patch) | |
tree | cbd27431b6ac40f74ef6526861fa8b2543741b7a /plugins/base/src/main/kotlin | |
parent | 116179e26a60d1b98d842ff6decc6119062475ae (diff) | |
download | dokka-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.kt | 1 |
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 |