From 6ec79c9c5ee6b23015320189890fa167cbc1a853 Mon Sep 17 00:00:00 2001 From: gilbysunil14 Date: Wed, 30 Oct 2024 16:21:26 +0530 Subject: [PATCH] Update LanguageServer.java --- .../main/java/org/eclipse/lsp4j/services/LanguageServer.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/org.eclipse.lsp4j/src/main/java/org/eclipse/lsp4j/services/LanguageServer.java b/org.eclipse.lsp4j/src/main/java/org/eclipse/lsp4j/services/LanguageServer.java index ec2a17c18..c7420173d 100644 --- a/org.eclipse.lsp4j/src/main/java/org/eclipse/lsp4j/services/LanguageServer.java +++ b/org.eclipse.lsp4j/src/main/java/org/eclipse/lsp4j/services/LanguageServer.java @@ -122,6 +122,9 @@ default void cancelProgress(WorkDoneProgressCancelParams params) { */ @JsonNotification("$/setTrace") default void setTrace(SetTraceParams params) { - throw new UnsupportedOperationException(); + /** + * The method default behaviour was to throw UnsupportedOperationException + * Keeping as empty to avoid it. + */ } }