Skip to content

Commit a383dde

Browse files
committed
fix: don't use deprecated LSP4E API method
1 parent 19f58b8 commit a383dde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

org.eclipse.wildwebdeveloper.xml/src/org/eclipse/wildwebdeveloper/xml/internal/autoclose/XMLAutoCloseTagReconciler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public void inputDocumentChanged(IDocument oldInput, IDocument newInput) {
9494
}
9595
document.addDocumentListener(this);
9696
}
97-
97+
9898
private void autoInsert(DocumentEvent event) {
9999
if (!isEnabled()) {
100100
return;
@@ -126,7 +126,7 @@ private void autoInsert(DocumentEvent event) {
126126
CompletableFuture.supplyAsync(() -> {
127127
try {
128128
TextDocumentPositionParams params = LSPEclipseUtils
129-
.toTextDocumentPosistionParams(uri, offset, document);
129+
.toTextDocumentPosistionParams(offset, document);
130130
// consumes xml/closeTag from XML language server
131131
info.closeTag(params).thenAccept(r -> {
132132
if (r != null) {

0 commit comments

Comments
 (0)