aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/Model/DocumentationReference.kt
diff options
context:
space:
mode:
authorXerus <27jf@web.de>2018-12-13 17:45:46 +0100
committerXerus <27jf@web.de>2018-12-13 17:45:46 +0100
commitec2dfa898b4cf2613ca15cd959a43f4f590005d3 (patch)
tree05d830e360633b36d580ce2759c83070e3c51bed /core/src/main/kotlin/Model/DocumentationReference.kt
parent17dd9747828a2ba8275714dc421a415c68d01615 (diff)
downloaddokka-ec2dfa898b4cf2613ca15cd959a43f4f590005d3.tar.gz
dokka-ec2dfa898b4cf2613ca15cd959a43f4f590005d3.tar.bz2
dokka-ec2dfa898b4cf2613ca15cd959a43f4f590005d3.zip
Fix IDEA Inspections
Diffstat (limited to 'core/src/main/kotlin/Model/DocumentationReference.kt')
-rw-r--r--core/src/main/kotlin/Model/DocumentationReference.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/main/kotlin/Model/DocumentationReference.kt b/core/src/main/kotlin/Model/DocumentationReference.kt
index a968f400..87e7ecea 100644
--- a/core/src/main/kotlin/Model/DocumentationReference.kt
+++ b/core/src/main/kotlin/Model/DocumentationReference.kt
@@ -45,15 +45,15 @@ class NodeReferenceGraph() {
}
fun link(fromNode: DocumentationNode, toSignature: String, kind: RefKind) {
- references.add(PendingDocumentationReference({ -> fromNode}, { -> nodeMap[toSignature]}, kind))
+ references.add(PendingDocumentationReference({ fromNode}, { nodeMap[toSignature]}, kind))
}
fun link(fromSignature: String, toNode: DocumentationNode, kind: RefKind) {
- references.add(PendingDocumentationReference({ -> nodeMap[fromSignature]}, { -> toNode}, kind))
+ references.add(PendingDocumentationReference({ nodeMap[fromSignature]}, { toNode}, kind))
}
fun link(fromSignature: String, toSignature: String, kind: RefKind) {
- references.add(PendingDocumentationReference({ -> nodeMap[fromSignature]}, { -> nodeMap[toSignature]}, kind))
+ references.add(PendingDocumentationReference({ nodeMap[fromSignature]}, { nodeMap[toSignature]}, kind))
}
fun lookup(signature: String) = nodeMap[signature]