Skip to content

Commit

Permalink
Fixed LSPUtil Javadoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
soerendomroes committed Mar 12, 2024
1 parent 20c1bcc commit 32d21d7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 32d21d7

Please sign in to comment.