diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-01-09 17:56:15 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-01-09 17:56:15 +0100 |
commit | a03a2cc3df9afe714e2a490d86a9110faaecfa24 (patch) | |
tree | 498538b2d3547c8f81f3a8c4fb6870b67c3f20f5 /test/src | |
parent | 69dd2988ec98a9fa027fcc805f28efbe8758d476 (diff) | |
download | dokka-a03a2cc3df9afe714e2a490d86a9110faaecfa24.tar.gz dokka-a03a2cc3df9afe714e2a490d86a9110faaecfa24.tar.bz2 dokka-a03a2cc3df9afe714e2a490d86a9110faaecfa24.zip |
remove some redundant code
Diffstat (limited to 'test/src')
-rw-r--r-- | test/src/TestAPI.kt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/src/TestAPI.kt b/test/src/TestAPI.kt index af1b8e52..a88835cd 100644 --- a/test/src/TestAPI.kt +++ b/test/src/TestAPI.kt @@ -37,10 +37,6 @@ public fun verifyModel(vararg files: String, verifier: (DocumentationModule) -> val documentation = environment.withContext { environment, session -> val fragments = environment.getSourceFiles().map { session.getPackageFragment(it.getPackageFqName()) }.filterNotNull().distinct() - val descriptors = hashMapOf<String, List<DeclarationDescriptor>>() - for ((name, parts) in fragments.groupBy { it.fqName }) { - descriptors.put(name.asString(), parts.flatMap { it.getMemberScope().getAllDescriptors() }) - } val documentationModule = DocumentationModule("test") val documentationBuilder = DocumentationBuilder(session, options) |