Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: improve code reuse #1082

Merged
merged 1 commit into from
Aug 28, 2024
Merged

Conversation

rubenporras
Copy link
Contributor

No description provided.

@rubenporras rubenporras requested a review from sebthom August 26, 2024 13:00
Remove synchronized methods in favor of volatile variables, since
mergeTriggers is an static method, a volatile variable is enough.

Remove catch of a CancellationException which is not thrown by
CompletableFuture#cancel and use CancellationSupport.

Use Either#map instead of ternary expression.
@rubenporras rubenporras merged commit bc39213 into eclipse-lsp4e:main Aug 28, 2024
6 checks passed
@rubenporras rubenporras deleted the reuse branch August 28, 2024 05:56
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.

2 participants