Skip to content

refactor: remove useless return value in documentClosed#1397

Merged
rubenporras merged 1 commit intoeclipse-lsp4e:mainfrom
rubenporras:future
Nov 14, 2025
Merged

refactor: remove useless return value in documentClosed#1397
rubenporras merged 1 commit intoeclipse-lsp4e:mainfrom
rubenporras:future

Conversation

@rubenporras
Copy link
Copy Markdown
Contributor

@rubenporras rubenporras commented Nov 14, 2025

fixes #689

@rubenporras rubenporras merged commit 447120a into eclipse-lsp4e:main Nov 14, 2025
10 of 11 checks passed
@rubenporras rubenporras deleted the future branch November 14, 2025 08:33
final var params = new DidCloseTextDocumentParams(identifier);
languageServerWrapper.sendNotification(ls -> ls.getTextDocumentService().didClose(params));
}
return CompletableFuture.completedFuture(null);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we could probably also have returned the future of languageServerWrapper.sendNotification(..) but I dont think this would add any value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DocumentContentSynchronizer.documentClosed() returns a useless value

2 participants