Skip to content

Commit

Permalink
fix: Allow derived MockLanguageServer for derived servers. (#1133)
Browse files Browse the repository at this point in the history
By changing the visibility of the MockLanguageServer constructor from
private to protected.
  • Loading branch information
andrewL-avlq authored Oct 8, 2024
1 parent 2f99a84 commit 5addc5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion org.eclipse.lsp4e.tests.mock/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Mock Language Server to test LSP4E
Bundle-SymbolicName: org.eclipse.lsp4e.tests.mock
Bundle-Version: 0.16.12.qualifier
Bundle-Version: 0.16.13.qualifier
Bundle-Vendor: Eclipse LSP4E
Bundle-RequiredExecutionEnvironment: JavaSE-17
Require-Bundle: org.eclipse.lsp4j;bundle-version="[0.23.0,0.24.0)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public static void reset(final Supplier<ServerCapabilities> serverConfigurer) {
INSTANCE = new MockLanguageServer(serverConfigurer);
}

private MockLanguageServer(final Supplier<ServerCapabilities> serverConfigurer) {
protected MockLanguageServer(final Supplier<ServerCapabilities> serverConfigurer) {
resetInitializeResult(serverConfigurer);
}

Expand Down

0 comments on commit 5addc5c

Please sign in to comment.