From 32d21d7d935bbc5b76161bb0dcf56256675d69fd Mon Sep 17 00:00:00 2001 From: Soeren Domroes Date: Tue, 12 Mar 2024 16:17:15 +0100 Subject: [PATCH] Fixed LSPUtil Javadoc. --- .../src/de/cau/cs/kieler/klighd/lsp/LSPUtil.xtend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/de.cau.cs.kieler.klighd.lsp/src/de/cau/cs/kieler/klighd/lsp/LSPUtil.xtend b/plugins/de.cau.cs.kieler.klighd.lsp/src/de/cau/cs/kieler/klighd/lsp/LSPUtil.xtend index 4e1a17154..c4886838b 100644 --- a/plugins/de.cau.cs.kieler.klighd.lsp/src/de/cau/cs/kieler/klighd/lsp/LSPUtil.xtend +++ b/plugins/de.cau.cs.kieler.klighd.lsp/src/de/cau/cs/kieler/klighd/lsp/LSPUtil.xtend @@ -75,8 +75,8 @@ class LSPUtil { * Returns null if the {@code ViewContext} of the resource described by {@code uri} is null. * Returns null if the element behind the id is no kEdge. */ - static def getKEdge(KGraphDiagramState diagramState, String uri, String nodeId) { - val kGraphElement = diagramState.getIdToKGraphMap(uri).get(nodeId) + static def getKEdge(KGraphDiagramState diagramState, String uri, String edgeId) { + val kGraphElement = diagramState.getIdToKGraphMap(uri).get(edgeId) if (kGraphElement instanceof KEdge) { return kGraphElement as KEdge