diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2020-08-14 13:37:38 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-08-19 13:34:10 +0200 |
commit | 97275264d7c39afde6c6a1511e7ad499430ca594 (patch) | |
tree | e33ceb78b4242903d79c173a18da7a25f8e47a7d /plugins/base/src | |
parent | c3e979270956b8df9380cf9eea067048f325dbd3 (diff) | |
download | dokka-97275264d7c39afde6c6a1511e7ad499430ca594.tar.gz dokka-97275264d7c39afde6c6a1511e7ad499430ca594.tar.bz2 dokka-97275264d7c39afde6c6a1511e7ad499430ca594.zip |
Specify generic type explicitly, fix formatting
Diffstat (limited to 'plugins/base/src')
-rw-r--r-- | plugins/base/src/main/kotlin/resolvers/local/DokkaLocationProvider.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/resolvers/local/DokkaLocationProvider.kt b/plugins/base/src/main/kotlin/resolvers/local/DokkaLocationProvider.kt index 4233ffa1..88536558 100644 --- a/plugins/base/src/main/kotlin/resolvers/local/DokkaLocationProvider.kt +++ b/plugins/base/src/main/kotlin/resolvers/local/DokkaLocationProvider.kt @@ -38,7 +38,7 @@ open class DokkaLocationProvider( if (first) page else throw AssertionError("Multiple pages associated with dri: $dri") } - protected open val anchorsIndex = pageGraphRoot.withDescendants().filterIsInstance<ContentPage>() + protected open val anchorsIndex: Map<DRI, ContentPage> = pageGraphRoot.withDescendants().filterIsInstance<ContentPage>() .flatMap { page -> page.content.withDescendants() .filter { it.extra[SymbolAnchorHint] != null } |