Skip to content

Commit

Permalink
Merge pull request #321 from gilbysunil14/UnsupportedOperationException
Browse files Browse the repository at this point in the history
UnsupportedOperationException fix in LCLS
  • Loading branch information
cherylking authored Nov 7, 2024
2 parents 1efc95d + fa72892 commit c562232
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2020, 2023 IBM Corporation and others.
* Copyright (c) 2020, 2024 IBM Corporation and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
Expand All @@ -21,6 +21,7 @@
import org.eclipse.lsp4j.InitializeResult;
import org.eclipse.lsp4j.InitializedParams;
import org.eclipse.lsp4j.ServerCapabilities;
import org.eclipse.lsp4j.SetTraceParams;
import org.eclipse.lsp4j.TextDocumentSyncKind;
import org.eclipse.lsp4j.services.LanguageClient;
import org.eclipse.lsp4j.services.LanguageClientAware;
Expand Down Expand Up @@ -123,4 +124,10 @@ public LanguageClient getLanguageClient() {
public void setLanguageClient(LanguageClient languageClient) {
this.languageClient = languageClient;
}

@Override
public void setTrace(SetTraceParams params) {
// to avoid having UnsupportedOperationException, the method is implemented
// FIXME : implement the behavior of this method.
}
}

0 comments on commit c562232

Please sign in to comment.