From a9592a98ffa39cb8e8583fbb20dfefa86a14db49 Mon Sep 17 00:00:00 2001 From: Soeren Domroes Date: Fri, 8 Mar 2024 08:35:03 +0100 Subject: [PATCH] lsp-interaction: Fixed javadoc errors. --- .../cau/cs/kieler/klighd/lsp/interactive/InteractiveUtil.xtend | 2 +- .../mrtree/MrTreeInteractiveLanguageServerExtension.xtend | 2 +- .../lsp/interactive/mrtree/PositionConstraintReevaluation.xtend | 2 +- .../RectpackingInteractiveLanguageServerExtension.xtend | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/de.cau.cs.kieler.klighd.lsp/src/de/cau/cs/kieler/klighd/lsp/interactive/InteractiveUtil.xtend b/plugins/de.cau.cs.kieler.klighd.lsp/src/de/cau/cs/kieler/klighd/lsp/interactive/InteractiveUtil.xtend index 24f111737..f450cb878 100644 --- a/plugins/de.cau.cs.kieler.klighd.lsp/src/de/cau/cs/kieler/klighd/lsp/interactive/InteractiveUtil.xtend +++ b/plugins/de.cau.cs.kieler.klighd.lsp/src/de/cau/cs/kieler/klighd/lsp/interactive/InteractiveUtil.xtend @@ -200,7 +200,7 @@ class InteractiveUtil { * Returns id of a node. * * @param node The node. - * @returns The id string of the node. + * @return The id string of the node. */ static def String getIdOfNode(KNode node) { var nameStringOfReferenceNode = node.toString diff --git a/plugins/de.cau.cs.kieler.klighd.lsp/src/de/cau/cs/kieler/klighd/lsp/interactive/mrtree/MrTreeInteractiveLanguageServerExtension.xtend b/plugins/de.cau.cs.kieler.klighd.lsp/src/de/cau/cs/kieler/klighd/lsp/interactive/mrtree/MrTreeInteractiveLanguageServerExtension.xtend index 920772086..6832940c1 100644 --- a/plugins/de.cau.cs.kieler.klighd.lsp/src/de/cau/cs/kieler/klighd/lsp/interactive/mrtree/MrTreeInteractiveLanguageServerExtension.xtend +++ b/plugins/de.cau.cs.kieler.klighd.lsp/src/de/cau/cs/kieler/klighd/lsp/interactive/mrtree/MrTreeInteractiveLanguageServerExtension.xtend @@ -56,7 +56,7 @@ class MrTreeInteractiveLanguageServerExtension implements ILanguageServerExtensi * Set order constraint of node specified by node id. * This changes all order values of all constraints of a previous layout run. * - * @param constraint constraint to be set + * @param pc constraint to be set * @param clientId identifier of diagram */ def setPositionConstraint(MrTreeSetPositionConstraint pc, String clientId) { diff --git a/plugins/de.cau.cs.kieler.klighd.lsp/src/de/cau/cs/kieler/klighd/lsp/interactive/mrtree/PositionConstraintReevaluation.xtend b/plugins/de.cau.cs.kieler.klighd.lsp/src/de/cau/cs/kieler/klighd/lsp/interactive/mrtree/PositionConstraintReevaluation.xtend index 55953edd9..dced571fd 100644 --- a/plugins/de.cau.cs.kieler.klighd.lsp/src/de/cau/cs/kieler/klighd/lsp/interactive/mrtree/PositionConstraintReevaluation.xtend +++ b/plugins/de.cau.cs.kieler.klighd.lsp/src/de/cau/cs/kieler/klighd/lsp/interactive/mrtree/PositionConstraintReevaluation.xtend @@ -40,7 +40,7 @@ class PositionConstraintReevaluation { /** * Adjusts position constraints in a layer after one node has been introduced to it. - * @param nodesOfLayer the nodes of the layer + * @param parent the nodes of the layer * @param target the moved node * @param newPosition the new position of the node */ diff --git a/plugins/de.cau.cs.kieler.klighd.lsp/src/de/cau/cs/kieler/klighd/lsp/interactive/rectpacking/RectpackingInteractiveLanguageServerExtension.xtend b/plugins/de.cau.cs.kieler.klighd.lsp/src/de/cau/cs/kieler/klighd/lsp/interactive/rectpacking/RectpackingInteractiveLanguageServerExtension.xtend index c15fc6846..f7ab13f42 100644 --- a/plugins/de.cau.cs.kieler.klighd.lsp/src/de/cau/cs/kieler/klighd/lsp/interactive/rectpacking/RectpackingInteractiveLanguageServerExtension.xtend +++ b/plugins/de.cau.cs.kieler.klighd.lsp/src/de/cau/cs/kieler/klighd/lsp/interactive/rectpacking/RectpackingInteractiveLanguageServerExtension.xtend @@ -163,7 +163,7 @@ class RectpackingInteractiveLanguageServerExtension implements ILanguageServerEx /** * Applies property changes to the file given by the uri by sending by notifying the client to execute the changes. * - * @param changedNodes The KNodes that changed. + * @param constraint The constraint to serialize * @param model The main KNode * @param uri uri of resource */