From 37d12bed40edc226d96d0e1a4b28a24583ece94f Mon Sep 17 00:00:00 2001 From: "sebastian.sellmair" Date: Wed, 22 Jul 2020 11:12:16 +0200 Subject: DokkaConfiguration: Use `Set` instead of `List` when collections are expected to be distinct --- .../src/main/kotlin/renderers/defaultSourceSet.kt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'plugins/base/test-utils') 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 ) -- cgit