Skip to content

Commit f107797

Browse files
committed
Tiny adjustment for a recipe
Signed-off-by: BoykoAlex <alex.boyko@broadcom.com>
1 parent 1f0edc9 commit f107797

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

headless-services/commons/commons-rewrite/src/main/java/org/springframework/ide/vscode/commons/rewrite/java/AddAnnotationOverMethod.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ public MethodDeclaration visitMethodDeclaration(MethodDeclaration method, Execut
102102
attr.value(), (String) null, null, null).getVisitor().visit(m, ctx, getCursor().getParent());
103103
if (newM != m) {
104104
m = newM;
105+
updateCursor(m);
105106
changed = true;
106107
}
107108
}

0 commit comments

Comments
 (0)