Skip to content

Commit a4132d7

Browse files
committed
Typo in the id
Signed-off-by: BoykoAlex <[email protected]>
1 parent 6d6740c commit a4132d7

File tree

1 file changed

+1
-1
lines changed
  • headless-services/spring-boot-language-server/src/main/java/org/springframework/ide/vscode/boot/java/commands

1 file changed

+1
-1
lines changed

headless-services/spring-boot-language-server/src/main/java/org/springframework/ide/vscode/boot/java/commands/JsonNodeHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ private static void assignNodeId(Node n, Node p) {
227227

228228
String nodeSpecificId = "%s|%s|%s".formatted(textId, locationId, referenceId).replaceAll("\\|+$", "");
229229

230-
n.attributes.put(NODE_ID, p != null && p.attributes.containsKey(NODE_ID) ? "%s//%s".formatted(p.attributes.get(NODE_ID), nodeSpecificId) : nodeSpecificId);
230+
n.attributes.put(NODE_ID, p != null && p.attributes.containsKey(NODE_ID) ? "%s/%s".formatted(p.attributes.get(NODE_ID), nodeSpecificId) : nodeSpecificId);
231231
}
232232

233233
private Node addChildFoo(Consumer<Node> consumer) {

0 commit comments

Comments
 (0)