aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/test-utils
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-22 11:12:16 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-08-14 17:51:11 +0200
commit37d12bed40edc226d96d0e1a4b28a24583ece94f (patch)
tree424ec0e7f60fc9a9c0eb9a9747a99faea714fdf9 /plugins/base/test-utils
parenteae1ce49d18c2978b49166ea502bf2c109a85504 (diff)
downloaddokka-37d12bed40edc226d96d0e1a4b28a24583ece94f.tar.gz
dokka-37d12bed40edc226d96d0e1a4b28a24583ece94f.tar.bz2
dokka-37d12bed40edc226d96d0e1a4b28a24583ece94f.zip
DokkaConfiguration: Use `Set` instead of `List` when collections are expected to be distinct
Diffstat (limited to 'plugins/base/test-utils')
-rw-r--r--plugins/base/test-utils/src/main/kotlin/renderers/defaultSourceSet.kt14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/base/test-utils/src/main/kotlin/renderers/defaultSourceSet.kt b/plugins/base/test-utils/src/main/kotlin/renderers/defaultSourceSet.kt
index 7358d2c2..8d19870c 100644
--- a/plugins/base/test-utils/src/main/kotlin/renderers/defaultSourceSet.kt
+++ b/plugins/base/test-utils/src/main/kotlin/renderers/defaultSourceSet.kt
@@ -8,24 +8,24 @@ val defaultSourceSet = DokkaSourceSetImpl(
moduleDisplayName = "DEFAULT",
displayName = "DEFAULT",
sourceSetID = DokkaSourceSetID("DEFAULT", "DEFAULT"),
- classpath = emptyList(),
- sourceRoots = emptyList(),
+ classpath = emptySet(),
+ sourceRoots = emptySet(),
dependentSourceSets = emptySet(),
- samples = emptyList(),
- includes = emptyList(),
+ samples = emptySet(),
+ includes = emptySet(),
includeNonPublic = false,
includeRootPackage = false,
reportUndocumented = false,
skipEmptyPackages = true,
skipDeprecated = false,
jdkVersion = 8,
- sourceLinks = emptyList(),
+ sourceLinks = emptySet(),
perPackageOptions = emptyList(),
- externalDocumentationLinks = emptyList(),
+ externalDocumentationLinks = emptySet(),
languageVersion = null,
apiVersion = null,
noStdlibLink = false,
noJdkLink = false,
- suppressedFiles = emptyList(),
+ suppressedFiles = emptySet(),
analysisPlatform = Platform.DEFAULT
)